diff options
author | jlam <jlam@pkgsrc.org> | 2001-08-29 22:41:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-08-29 22:41:00 +0000 |
commit | 63fc151cb9f15f8bcc66bbeca21050fea30c29d3 (patch) | |
tree | 0943c3791afa0b712d3818b69672014acfe55e03 /wm/enlightenment/Makefile | |
parent | 70004632b203c88d357d29ec8f217d1caa85f9c7 (diff) | |
download | pkgsrc-63fc151cb9f15f8bcc66bbeca21050fea30c29d3.tar.gz |
Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references
to ${X11BASE} in the header and library search paths into references to
${LOCALBASE}/share/x11-links. These packages should now be strongly-
buildlinked regardless of whether xpkgwedge is installed.
Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and
lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge.
Diffstat (limited to 'wm/enlightenment/Makefile')
-rw-r--r-- | wm/enlightenment/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/wm/enlightenment/Makefile b/wm/enlightenment/Makefile index a887ccdf3a0..dbee50bd426 100644 --- a/wm/enlightenment/Makefile +++ b/wm/enlightenment/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/06/30 10:37:25 zuntum Exp $ +# $NetBSD: Makefile,v 1.6 2001/08/29 22:41:22 jlam Exp $ DISTNAME= enlightenment-0.16.4 CATEGORIES= x11 gnome wm @@ -8,7 +8,7 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.enlightenment.org/ COMMENT= Window manager for X -USE_BUILDLINK_ONLY= YES +USE_BUILDLINK_ONLY= yes USE_PERL5= yes USE_X11BASE= yes @@ -16,6 +16,19 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-fsstd MAKE_ENV+= USER=${SHAREOWN}:${SHAREGRP} +# Remove -I$(includedir) from the INCLUDES passed to the compiler as this +# defeats buildlink. +# +post-patch: + cd ${WRKSRC}; \ + files=`${FIND} . -name "Makefile.in" -print`; \ + for file in $${files}; do \ + ${MV} -f $${file} $${file}.fixme; \ + ${SED} -e "/^INCLUDES.*=.*/s|[ ]*-I\$$(includedir)||" \ + $${file}.fixme > $${file}; \ + ${RM} $${file}.fixme; \ + done + post-install: for FILE in `${GREP} "\.directory$$" ${PKGDIR}/PLIST`; do \ ${TOUCH} ${PREFIX}/$${FILE}; \ @@ -30,4 +43,5 @@ post-install: .include "../../graphics/fnlib/buildlink.mk" .include "../../graphics/freetype-lib/buildlink.mk" .include "../../www/libghttp/buildlink.mk" +.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" |