summaryrefslogtreecommitdiff
path: root/net/xipdump
diff options
context:
space:
mode:
authortv <tv>2005-03-19 17:02:32 +0000
committertv <tv>2005-03-19 17:02:32 +0000
commitf5aa0e78b5aef7a28f183be51af19a9bb4ba6736 (patch)
tree2b833c9514761c452a471782f4fd9880be9fb61a /net/xipdump
parenta294e97f505bbd109cc1edd663e5c6d62d0bea7e (diff)
downloadpkgsrc-f5aa0e78b5aef7a28f183be51af19a9bb4ba6736.tar.gz
Defer evaluation of LIBNET_CFLAGS until CFLAGS is put into the environment
(after dependencies are handled).
Diffstat (limited to 'net/xipdump')
-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