summaryrefslogtreecommitdiff
path: root/net/libpcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/libpcap/Makefile')
-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"