diff options
author | jlam <jlam@pkgsrc.org> | 2004-09-23 04:29:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-09-23 04:29:39 +0000 |
commit | 9d8f1bfc6cbb93330262b46f11b42935a09fbca9 (patch) | |
tree | 635e880db0f069902f85aa9871ecee5aed4aa500 /net/libpcap/buildlink3.mk | |
parent | 6f0ce660ac2de73ce9f6b0ebf0b0b9c6d1368f0b (diff) | |
download | pkgsrc-9d8f1bfc6cbb93330262b46f11b42935a09fbca9.tar.gz |
Use BUILDLINK_LDFLAGS.libpcap instead of LDFLAGS.
Diffstat (limited to 'net/libpcap/buildlink3.mk')
-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 |