pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libpcap Under Mac OS X Snow Leopard "pcap.h" is a ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4ab8b3158383
branches: trunk
changeset: 564965:4ab8b3158383
user: tron <tron%pkgsrc.org@localhost>
date: Sun Sep 13 13:07:11 2009 +0000
description:
Under Mac OS X Snow Leopard "pcap.h" is a wrapper that only includes
"pcap/pcap.h". We must therfore use "pcap/pcap.h" to detect the version
of the "pcap" library on this platform.
diffstat:
net/libpcap/builtin.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 7a6415d1a3e3 -r 4ab8b3158383 net/libpcap/builtin.mk
--- a/net/libpcap/builtin.mk Sun Sep 13 12:19:26 2009 +0000
+++ b/net/libpcap/builtin.mk Sun Sep 13 13:07:11 2009 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: builtin.mk,v 1.14 2006/04/06 06:22:33 reed Exp $
+# $NetBSD: builtin.mk,v 1.15 2009/09/13 13:07:11 tron Exp $
BUILTIN_PKG:= libpcap
+.include "../../mk/bsd.fast.prefs.mk"
+
BUILTIN_FIND_FILES_VAR:= H_LIBPCAP
+.if empty(MACHINE_PLATFORM:MDarwin-??.*-*)
BUILTIN_FIND_FILES.H_LIBPCAP= /usr/include/pcap.h
+.else
+BUILTIN_FIND_FILES.H_LIBPCAP= /usr/include/pcap/pcap.h
+.endif
.include "../../mk/buildlink3/bsd.builtin.mk"
Home |
Main Index |
Thread Index |
Old Index