summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-23 23:11:58 +0000
committerjlam <jlam@pkgsrc.org>2002-09-23 23:11:58 +0000
commit393305a676bf1860f34d52d396d2419917690c6a (patch)
treed374f88ce84d908bfc0964752925aee00d4f78d4 /x11
parentc1b754c28f70bde00e10de8394a464cb50d4aef5 (diff)
downloadpkgsrc-393305a676bf1860f34d52d396d2419917690c6a.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'x11')
-rw-r--r--x11/xplanet/Makefile32
-rw-r--r--x11/xvattr/Makefile13
2 files changed, 22 insertions, 23 deletions
diff --git a/x11/xplanet/Makefile b/x11/xplanet/Makefile
index 71cf2046d26..f8b565c8841 100644
--- a/x11/xplanet/Makefile
+++ b/x11/xplanet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/05/12 10:16:52 abs Exp $
+# $NetBSD: Makefile,v 1.6 2002/09/23 23:11:58 jlam Exp $
#
DISTNAME= xplanet-0.93
@@ -10,14 +10,15 @@ MAINTAINER= atatat@netbsd.org
HOMEPAGE= http://xplanet.sourceforge.net/
COMMENT= Rotating rendered map of the Earth in X11 root window
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-gl-dir=${BUILDLINK_DIR}
-CONFIGURE_ARGS+= --with-glut-dir=${BUILDLINK_DIR}
-
-USE_GMAKE= yes
+USE_BUILDLINK2= yes
USE_X11= yes
+USE_GMAKE= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-gl-dir=${BUILDLINK_PREFIX.Mesa}
+CONFIGURE_ARGS+= --with-glut-dir=${BUILDLINK_PREFIX.Mesa}
-LIBS= -lpbm -lppm -lpgm
+LIBS= -lXext -lpbm -lppm -lpgm
MAKE_ENV+= LIBS="${LIBS}"
pre-configure:
@@ -26,14 +27,13 @@ pre-configure:
[ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \
${SED} -e 's|@PREFIX@|${PREFIX}|g' < $$f.BAK > $$f
-.include "../../graphics/Mesa/buildlink.mk"
-.include "../../graphics/jpeg/buildlink.mk"
-.include "../../graphics/freetype2/buildlink.mk"
-.include "../../graphics/libungif/buildlink.mk"
-.include "../../graphics/netpbm/buildlink.mk"
-.include "../../graphics/png/buildlink.mk"
-.include "../../graphics/tiff/buildlink.mk"
-.include "../../x11/tk/buildlink.mk"
+.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../graphics/libungif/buildlink2.mk"
+.include "../../graphics/netpbm/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/tiff/buildlink2.mk"
+.include "../../x11/tk/buildlink2.mk"
-#.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile
index 898e3eeccc1..97f9bf68372 100644
--- a/x11/xvattr/Makefile
+++ b/x11/xvattr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2002/09/16 12:02:24 mycroft Exp $
+# $NetBSD: Makefile,v 1.4 2002/09/23 23:15:14 jlam Exp $
DISTNAME= xvattr-1.3
CATEGORIES= x11
@@ -8,16 +8,15 @@ MAINTAINER= veego@netbsd.org
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
COMMENT= Modify Xv attributes
-GNU_CONFIGURE= yes
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= # defined
+USE_X11= # defined
+GNU_CONFIGURE= # defined
.include "../../mk/bsd.prefs.mk"
.if !exists(${X11BASE}/include/X11/extensions/Xvlib.h)
-# you need Xv which isn't there in older X installs
-NOT_FOR_PLATFORM= *-*-*
+IGNORE= "${PKGNAME} requires libXv.a."
.endif
-.include "../../mk/x11.buildlink.mk"
-.include "../../x11/gtk/buildlink.mk"
+.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"