diff options
-rw-r--r-- | net/libpcap/buildlink3.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/libpcap/buildlink3.mk b/net/libpcap/buildlink3.mk index 4bb4f6cb4a3..7bf17ee42f2 100644 --- a/net/libpcap/buildlink3.mk +++ b/net/libpcap/buildlink3.mk @@ -1,8 +1,10 @@ -# $NetBSD: buildlink3.mk,v 1.13 2004/06/27 12:04:45 grant Exp $ +# $NetBSD: buildlink3.mk,v 1.14 2004/09/23 04:29:39 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBPCAP_BUILDLINK3_MK:= ${LIBPCAP_BUILDLINK3_MK}+ +.include "../../mk/bsd.prefs.mk" + .if !empty(BUILDLINK_DEPTH:M+) BUILDLINK_DEPENDS+= libpcap .endif @@ -14,13 +16,11 @@ BUILDLINK_PACKAGES+= libpcap BUILDLINK_DEPENDS.libpcap+= libpcap>=0.7.2 BUILDLINK_PKGSRCDIR.libpcap?= ../../net/libpcap -. include "../../mk/bsd.prefs.mk" - # on Solaris, we always need libnsl and libsocket because libpcap.a # references symbols in them. . if ${OPSYS} == "SunOS" BUILDLINK_LDADD.libpcap+= -lnsl -lsocket -LDFLAGS+= ${BUILDLINK_LDADD.libpcap} +BUILDLINK_LDFLAGS.libpcap?= ${BUILDLINK_LDADD.libpcap} . endif .endif # LIBPCAP_BUILDLINK3_MK |