summaryrefslogtreecommitdiff
path: root/time/xalarm/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2015-10-14 20:17:24 +0000
committerwiz <wiz>2015-10-14 20:17:24 +0000
commit7b80d1b56af25e2326b66e1248368b329b266ec0 (patch)
treeb62ce193139a28ca45bd0bf8ee8790b2683f16db /time/xalarm/Makefile
parent601c7483a0f038bc0f6003af0450ce95e270a1ca (diff)
downloadpkgsrc-7b80d1b56af25e2326b66e1248368b329b266ec0.tar.gz
Switch from x11/Xaw3d to newer x11/libXaw3d.
Adapt some packages so they build with that. Bump their PKGREVISIONs.
Diffstat (limited to 'time/xalarm/Makefile')
-rw-r--r--time/xalarm/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/time/xalarm/Makefile b/time/xalarm/Makefile
index 08cd6c43c2b..8808e3b3605 100644
--- a/time/xalarm/Makefile
+++ b/time/xalarm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2013/04/06 13:01:28 rodent Exp $
+# $NetBSD: Makefile,v 1.18 2015/10/14 20:17:28 wiz Exp $
DISTNAME= xalarm-3.06
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_XCONTRIB:=utilities/}
@@ -17,6 +17,14 @@ FORTUNE= "Sorry, xfortune is unavailable - no fortune!"
YOW= "Sorry, xyow is unavailable - no yow!"
KILL= /bin/kill # should this be in bsd.pkg.mk ?
+# does not directly support Xaw3d
+BUILDLINK_TRANSFORM+= l:Xaw:Xaw3d
+.PHONY: buildlink-Xaw3d-inc-hack
+pre-configure: buildlink-Xaw3d-inc-hack
+
+buildlink-Xaw3d-inc-hack: buildlink-directories
+ cd ${BUILDLINK_DIR}/include/X11 && ln -s Xaw3d Xaw
+
.include "../../mk/bsd.prefs.mk"
.if defined(XALARM_USE_YOW)