aboutsummaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-11-13 12:29:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-11-13 12:29:21 +0000
commit3f4eda483346bc5df77b21fbad7a09d7c46d9be9 (patch)
tree538d1b058d0d42bb62f620b0c2bbbcd9dcd2ba7a /net/libpcap
parent983f48dd5f7860fc5b55cecb9397518f8de588bb (diff)
downloadports-3f4eda483346bc5df77b21fbad7a09d7c46d9be9.tar.gz
ports-3f4eda483346bc5df77b21fbad7a09d7c46d9be9.zip
Notes
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index a7543648d1c3..9ea772180f4f 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libpcap
PORTVERSION= 0.8.3
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
DISTNAME= ${PORTNAME}-${PORTVERSION}
@@ -15,13 +15,12 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= bms@FreeBSD.org
COMMENT= Ubiquitous network traffic capture library
-BUILD_DEPENDS= ${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison
-
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN3= pcap.3
GNU_CONFIGURE= yes
+USE_BISON= yes
.if defined(LIBPCAP_OVERWRITE_BASE)
PREFIX= /usr
@@ -50,4 +49,10 @@ post-install:
${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
+.include <bsd.port.post.mk>