pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/xipdump Fix build -- `foo` in CFLAGS does not seem...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/642713ad21b0
branches:  trunk
changeset: 490027:642713ad21b0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 02 13:38:31 2005 +0000

description:
Fix build -- `foo` in CFLAGS does not seem to work anymore.

diffstat:

 net/xipdump/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 12e805627c51 -r 642713ad21b0 net/xipdump/Makefile
--- a/net/xipdump/Makefile      Wed Mar 02 13:35:20 2005 +0000
+++ b/net/xipdump/Makefile      Wed Mar 02 13:38:31 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/02/05 16:11:47 adrianp Exp $
+# $NetBSD: Makefile,v 1.16 2005/03/02 13:38:31 wiz Exp $
 #
 
 DISTNAME=      xipdump-1.5.4
@@ -7,20 +7,18 @@
 EXTRACT_SUFX=  .tgz
 
 MAINTAINER=    sakamoto%NetBSD.org@localhost
-#HOMEPAGE=     http://www.epita.fr/~lse/xipdump/       
+#HOMEPAGE=     http://www.epita.fr/~lse/xipdump/
 COMMENT=       Displays IP packets using X Window System
 
 USE_BUILDLINK3=        YES
 
 BUILDLINK_DEPENDS.libnet+=     libnet-1.0.*
 
-LIBNET_CONFIG= ${LOCALBASE}/bin/libnet-config
-
 PLIST_SRC=     ${WRKDIR}/PLIST
 
 USE_X11BASE=   yes
 GNU_CONFIGURE= yes
-CFLAGS+=       -I${PREFIX}/include `${LIBNET_CONFIG} --defines`
+CFLAGS+=       -I${PREFIX}/include ${LIBNET_CFLAGS}
 LIBS=          -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lnet
 
 post-build:
@@ -33,3 +31,5 @@
 
 .include "../../devel/libnet/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
+
+LIBNET_CFLAGS!=        ${LOCALBASE}/bin/libnet-config --defines



Home | Main Index | Thread Index | Old Index