summaryrefslogtreecommitdiff
path: root/net/xipdump
diff options
context:
space:
mode:
authorwiz <wiz>2004-12-04 14:55:59 +0000
committerwiz <wiz>2004-12-04 14:55:59 +0000
commit4ba67730a56441d1e3f58574aaae922b16ceec30 (patch)
tree62c5664583e4b420350ad6e0bbb592eb5d1403fc /net/xipdump
parentb41dc404c392583ed04a8fbfdfb3986031d8a948 (diff)
downloadpkgsrc-4ba67730a56441d1e3f58574aaae922b16ceec30.tar.gz
Fix build. Convert to buildlink3.
Diffstat (limited to 'net/xipdump')
-rw-r--r--net/xipdump/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/xipdump/Makefile b/net/xipdump/Makefile
index 6641600bd33..373cc292b77 100644
--- a/net/xipdump/Makefile
+++ b/net/xipdump/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/06/01 17:51:28 recht Exp $
+# $NetBSD: Makefile,v 1.13 2004/12/04 14:55:59 wiz Exp $
#
DISTNAME= xipdump-1.5.4
@@ -10,7 +10,7 @@ MAINTAINER= sakamoto@NetBSD.org
#HOMEPAGE= http://www.epita.fr/~lse/xipdump/
COMMENT= Displays IP packets using X Window System
-DEPENDS+= libnet>=1.0.1bnb3:../../devel/libnet
+USE_BUILDLINK3= YES
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet-config
@@ -18,8 +18,8 @@ PLIST_SRC= ${WRKDIR}/PLIST
USE_X11BASE= yes
GNU_CONFIGURE= yes
-CFLAGS+= `${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`
-LIBS= `${LIBNET_CONFIG} --libs`
+CFLAGS+= -I${PREFIX}/include `${LIBNET_CONFIG} --defines`
+LIBS= -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lnet
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@@ -29,4 +29,5 @@ post-build:
@${ECHO} "@dirrm share/xipdump/pkc" >> ${PLIST_SRC}
@${ECHO} "@dirrm share/xipdump" >> ${PLIST_SRC}
+.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"