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:41:01 UTC 2024

Modified Files:
        pkgsrc/net/libpcap: Makefile

Log Message:
libpcap: Fix building on Mac OS X 10.4


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/net/libpcap/Makefile

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/Makefile
diff -u pkgsrc/net/libpcap/Makefile:1.69 pkgsrc/net/libpcap/Makefile:1.70
--- pkgsrc/net/libpcap/Makefile:1.69    Tue Apr 18 07:59:11 2023
+++ pkgsrc/net/libpcap/Makefile Sat Mar 16 19:41:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.69 2023/04/18 07:59:11 adam Exp $
+# $NetBSD: Makefile,v 1.70 2024/03/16 19:41:01 nia Exp $
 
 DISTNAME=      libpcap-1.10.4
 CATEGORIES=    net
@@ -22,6 +22,13 @@ PKGCONFIG_OVERRIDE=  libpcap.pc.in
 CONFIGURE_ARGS.SunOS+= --with-pcap=dlpi
 CONFIGURE_ENV.SunOS+=  ac_cv_func_getifaddrs=no
 
+.include "../../mk/bsd.prefs.mk"
+
+# Requires Availability.h, which debuted with 10.5.
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
+.  include "../../devel/macports-legacy-support/buildlink3.mk"
+.endif
+
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${DESTDIR}${PREFIX}/include
 



Home | Main Index | Thread Index | Old Index