pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/xipdump Defer evaluation of LIBNET_CFLAGS until CF...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4f8a5246ede
branches: trunk
changeset: 490767:a4f8a5246ede
user: tv <tv%pkgsrc.org@localhost>
date: Sat Mar 19 17:02:32 2005 +0000
description:
Defer evaluation of LIBNET_CFLAGS until CFLAGS is put into the environment
(after dependencies are handled).
diffstat:
net/xipdump/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 26273786dabd -r a4f8a5246ede net/xipdump/Makefile
--- a/net/xipdump/Makefile Sat Mar 19 17:00:32 2005 +0000
+++ b/net/xipdump/Makefile Sat Mar 19 17:02:32 2005 +0000
@@ -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 @@
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 @@
.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
-
-LIBNET_CFLAGS!= ${LOCALBASE}/bin/libnet-config --defines
Home |
Main Index |
Thread Index |
Old Index