Module Name: src
Committed By: martin
Date: Wed Jun 9 19:46:20 UTC 2021
Modified Files:
src/external/bsd/libpcap/bin [netbsd-9]: Makefile
Log Message:
Pull up following revision(s) (requested by dholland in ticket #1284):
external/bsd/libpcap/bin/Makefile: revision 1.3
Fix pcap-config --libs output
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.50.1 src/external/bsd/libpcap/bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/libpcap/bin/Makefile
diff -u src/external/bsd/libpcap/bin/Makefile:1.2 src/external/bsd/libpcap/bin/Makefile:1.2.50.1
--- src/external/bsd/libpcap/bin/Makefile:1.2 Sun Dec 5 09:09:39 2010
+++ src/external/bsd/libpcap/bin/Makefile Wed Jun 9 19:46:19 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/12/05 09:09:39 mrg Exp $
+# $NetBSD: Makefile,v 1.2.50.1 2021/06/09 19:46:19 martin Exp $
.include <bsd.own.mk>
@@ -13,6 +13,10 @@ pcap-config: pcap-config.in
@rm -f ${.TARGET}
${TOOL_SED} -e 's,@libdir@,/usr/lib,g' \
-e 's,@includedir@,/usr/include,g' \
+ -e 's,@PACKAGE_NAME@,pcap,g' \
+ -e 's,@prefix@,/usr,g' \
+ -e 's,@exec_prefix@,/usr,g' \
+ -e 's/@V_RPATH_OPT@/-Wl,-rpath,/g' \
-e 's,@LIBS@,,g' < ${.ALLSRC} > ${.TARGET}
chmod a+x ${.TARGET}