pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libpcap



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 16 19:48:38 UTC 2024

Modified Files:
        pkgsrc/net/libpcap: buildlink3.mk

Log Message:
Availability.h is also needed by dependent packages


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/net/libpcap/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libpcap/buildlink3.mk
diff -u pkgsrc/net/libpcap/buildlink3.mk:1.24 pkgsrc/net/libpcap/buildlink3.mk:1.25
--- pkgsrc/net/libpcap/buildlink3.mk:1.24       Tue Apr 18 07:59:11 2023
+++ pkgsrc/net/libpcap/buildlink3.mk    Sat Mar 16 19:48:38 2024
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.24 2023/04/18 07:59:11 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.25 2024/03/16 19:48:38 nia Exp $
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -11,6 +11,11 @@ BUILDLINK_API_DEPENDS.libpcap+=      libpcap>
 BUILDLINK_ABI_DEPENDS.libpcap+=        libpcap>=1.3.0nb1
 BUILDLINK_PKGSRCDIR.libpcap?=  ../../net/libpcap
 
+# Headers require Availability.h, which debuted with 10.5.
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
+.  include "../../devel/macports-legacy-support/buildlink3.mk"
+.endif
+
 # on Solaris, we always need libnsl and libsocket because libpcap.a
 # references symbols in them.
 .if ${OPSYS} == "SunOS"



Home | Main Index | Thread Index | Old Index