summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-08-24 11:13:36 +0000
committerabs <abs@pkgsrc.org>2001-08-24 11:13:36 +0000
commit4ecfcad72dc9ef1382dae5dc938628d6b3044bb9 (patch)
tree73ec5cc0541af8504565df3c8fe4c9deaee7d833 /net/libpcap
parent772ea57896557f890cfdd0b384d86c284376aee9 (diff)
downloadpkgsrc-4ecfcad72dc9ef1382dae5dc938628d6b3044bb9.tar.gz
Work under Linux
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index a347fa1f4f4..69996e9d6e5 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/03/27 03:20:11 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2001/08/24 11:13:36 abs Exp $
DISTNAME= libpcap-0.6.1
CATEGORIES= net
@@ -8,11 +8,15 @@ MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.tcpdump.org/
COMMENT= System-independent interface for user-level packet capture
-BUILD_DEPENDS+= bison-*:../../devel/bison
-BUILD_DEPENDS+= flex-*:../../devel/flex
-
-ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system
+ONLY_FOR_PLATFORM= SunOS-*-* Linux-*-* # in NetBSD base system
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILD_DEPENDS+= bison-*:../../devel/bison
+BUILD_DEPENDS+= flex-*:../../devel/flex
+.endif
+
.include "../../mk/bsd.pkg.mk"