summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-03-19 17:02:32 +0000
committertv <tv@pkgsrc.org>2005-03-19 17:02:32 +0000
commitb3fd088350cea3403bf23b90d4940d4d6b8c7677 (patch)
tree2b833c9514761c452a471782f4fd9880be9fb61a /net
parent992a67c21ca870a74afeda271857a9f7cc07de8f (diff)
downloadpkgsrc-b3fd088350cea3403bf23b90d4940d4d6b8c7677.tar.gz
Defer evaluation of LIBNET_CFLAGS until CFLAGS is put into the environment
(after dependencies are handled).
Diffstat (limited to 'net')
-rw-r--r--net/xipdump/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/xipdump/Makefile b/net/xipdump/Makefile
index 549e018b7ce..748e938ff82 100644
--- a/net/xipdump/Makefile
+++ b/net/xipdump/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2005/03/02 13:38:31 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2005/03/19 17:02:32 tv Exp $
#
DISTNAME= xipdump-1.5.4
@@ -18,9 +18,11 @@ PLIST_SRC= ${WRKDIR}/PLIST
USE_X11BASE= yes
GNU_CONFIGURE= yes
-CFLAGS+= -I${PREFIX}/include ${LIBNET_CFLAGS}
+CFLAGS+= -I${PREFIX}/include ${LIBNET_CFLAGS_CMD:sh}
LIBS= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lnet
+LIBNET_CFLAGS_CMD= ${BUILDLINK_PREFIX.libnet}/bin/libnet-config --defines
+
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@(cd ${WRKSRC}/data; ${FIND} pkc pkt ! -type d -print | \
@@ -31,5 +33,3 @@ post-build:
.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
-
-LIBNET_CFLAGS!= ${LOCALBASE}/bin/libnet-config --defines