pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libpcap Use BUILDLINK_LDFLAGS.libpcap instead of L...
details: https://anonhg.NetBSD.org/pkgsrc/rev/378e90c32564
branches: trunk
changeset: 480976:378e90c32564
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Sep 23 04:29:39 2004 +0000
description:
Use BUILDLINK_LDFLAGS.libpcap instead of LDFLAGS.
diffstat:
net/libpcap/buildlink3.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 951b011a464f -r 378e90c32564 net/libpcap/buildlink3.mk
--- a/net/libpcap/buildlink3.mk Thu Sep 23 03:59:01 2004 +0000
+++ b/net/libpcap/buildlink3.mk Thu Sep 23 04:29:39 2004 +0000
@@ -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_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
Home |
Main Index |
Thread Index |
Old Index