pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libpcap use BUILTIN_FIND_HEADERS instead of BUILTI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7020c4f5693b
branches:  trunk
changeset: 365716:7020c4f5693b
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Mon Jul 24 07:23:28 2017 +0000

description:
use BUILTIN_FIND_HEADERS instead of BUILTIN_FIND_FILES
fixes the case where header files aren't in /usr/include (Darwin SDKs)

diffstat:

 net/libpcap/builtin.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r a92267838da5 -r 7020c4f5693b net/libpcap/builtin.mk
--- a/net/libpcap/builtin.mk    Mon Jul 24 03:19:44 2017 +0000
+++ b/net/libpcap/builtin.mk    Mon Jul 24 07:23:28 2017 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: builtin.mk,v 1.17 2011/01/29 21:17:48 markd Exp $
+# $NetBSD: builtin.mk,v 1.18 2017/07/24 07:23:28 dbj Exp $
 
 BUILTIN_PKG:=  libpcap
 
 .include "../../mk/bsd.fast.prefs.mk"
 
-BUILTIN_FIND_FILES_VAR:=       H_LIBPCAP
-BUILTIN_FIND_FILES.H_LIBPCAP=  /usr/include/pcap/pcap.h
-BUILTIN_FIND_FILES.H_LIBPCAP+= /usr/include/pcap.h
+BUILTIN_FIND_HEADERS_VAR:=             H_LIBPCAP
+BUILTIN_FIND_HEADERS.H_LIBPCAP=                pcap/pcap.h
+BUILTIN_FIND_HEADERS.H_LIBPCAP+=       pcap.h
 
 .include "../../mk/buildlink3/bsd.builtin.mk"
 



Home | Main Index | Thread Index | Old Index