summaryrefslogtreecommitdiff
path: root/x11/controlcenter/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-08-29 08:42:50 +0000
committerjlam <jlam>2002-08-29 08:42:50 +0000
commit0cf862b2ae30d64d4996f76757ec15998e460d3b (patch)
tree82a554f94ce09c0a671c1e361c85d90165eb1e7e /x11/controlcenter/Makefile
parent4585a1e4ff9331ae2eff4257c25e3e7a0fc69b40 (diff)
downloadpkgsrc-0cf862b2ae30d64d4996f76757ec15998e460d3b.tar.gz
buildlink1 -> buildlink2
Diffstat (limited to 'x11/controlcenter/Makefile')
-rw-r--r--x11/controlcenter/Makefile33
1 files changed, 10 insertions, 23 deletions
diff --git a/x11/controlcenter/Makefile b/x11/controlcenter/Makefile
index 865b57ceed3..0474fd4ce7a 100644
--- a/x11/controlcenter/Makefile
+++ b/x11/controlcenter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2002/08/25 19:23:27 jlam Exp $
+# $NetBSD: Makefile,v 1.42 2002/08/29 08:42:50 jlam Exp $
DISTNAME= control-center-1.4.0.4
CATEGORIES= x11 gnome
@@ -10,11 +10,10 @@ COMMENT= GNOME control-center development library
BUILD_USES_MSGFMT= YES
-BUILDLINK_DEPENDS.gnome-libs= gnome-libs>=1.4.1.2nb1
-
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
USE_X11BASE= YES
USE_GMAKE= YES
+
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
@@ -23,29 +22,17 @@ LOCALSTATEDIR= ${X11PREFIX}/var/gnome
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR}
-# Remove -I$(includedir) from the INCLUDES passed to the compiler as this
-# defeats buildlink. Also replace "imlib-config" with "$(IMLIB_CONFIG)"
-# so we use the config wrapper script.
-#
post-patch:
- cd ${WRKSRC}; \
- files="control-center/Makefile.in capplets/*/Makefile.in"; \
- for file in $${files}; do \
- ${SED} -e "s|[ ]*-I\$$(includedir)||" \
- -e "s|imlib-config|\$$(IMLIB_CONFIG)|g" \
- $${file} > $${file}.fixed; \
- ${MV} -f $${file}.fixed $${file}; \
- done
@${ECHO} >>${WRKSRC}/control-center/cappletConf.sh.in ""
post-install:
${MKDIR} ${PREFIX}/share/control-center/capplets
-.include "../../devel/popt/buildlink.mk"
-.include "../../devel/gettext-lib/buildlink.mk"
-.include "../../graphics/gdk-pixbuf/buildlink.mk"
-.include "../../sysutils/gnome-vfs/buildlink.mk"
-.include "../../textproc/scrollkeeper/buildlink.mk"
-.include "../../x11/gnome-libs/buildlink.mk"
-.include "../../mk/x11.buildlink.mk"
+.include "../../devel/popt/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../graphics/gdk-pixbuf/buildlink2.mk"
+.include "../../sysutils/gnome-vfs/buildlink2.mk"
+.include "../../textproc/scrollkeeper/buildlink2.mk"
+.include "../../x11/gnome-libs/buildlink2.mk"
+
.include "../../mk/bsd.pkg.mk"