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 | 6b08e4db7c42bb8dcfd73639cb76d766e7b1f32f (patch) | |
tree | 635e880db0f069902f85aa9871ecee5aed4aa500 /net/libpcap | |
parent | 19036ca486bae3326d16a85d793ce6a8be2fe870 (diff) | |
download | pkgsrc-6b08e4db7c42bb8dcfd73639cb76d766e7b1f32f.tar.gz |
Use BUILDLINK_LDFLAGS.libpcap instead of LDFLAGS.
Diffstat (limited to 'net/libpcap')
-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 |