diff options
author | 2020-01-09 13:53:45 +0100 | |
---|---|---|
committer | 2020-01-09 14:39:04 +0100 | |
commit | ce7ef2269c36d8f07ae4f578b84dda2454dee5e4 (patch) | |
tree | 6446056eb23c698a740fe08f5044cb7b8e8725a9 /net-libs/libpcap/files/libpcap-1.9.1-pcap-config.patch | |
parent | www-servers/h2o: add libh2o USE flag (diff) | |
download | gentoo-ce7ef2269c36d8f07ae4f578b84dda2454dee5e4.tar.gz gentoo-ce7ef2269c36d8f07ae4f578b84dda2454dee5e4.tar.bz2 gentoo-ce7ef2269c36d8f07ae4f578b84dda2454dee5e4.zip |
net-libs/libpcap: USE=remote, EAPI=7, strip pcap-config -L/usr/lib
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libpcap/files/libpcap-1.9.1-pcap-config.patch')
-rw-r--r-- | net-libs/libpcap/files/libpcap-1.9.1-pcap-config.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-libs/libpcap/files/libpcap-1.9.1-pcap-config.patch b/net-libs/libpcap/files/libpcap-1.9.1-pcap-config.patch new file mode 100644 index 000000000000..937273c43ff0 --- /dev/null +++ b/net-libs/libpcap/files/libpcap-1.9.1-pcap-config.patch @@ -0,0 +1,43 @@ +--- a/pcap-config.in ++++ b/pcap-config.in +@@ -59,16 +59,16 @@ + # + if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] + then +- echo "-I$includedir -L$libdir -lpcap $LIBS" ++ echo "-lpcap $LIBS" + elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] + then +- echo "-I$includedir -L$libdir $LIBS" ++ echo "$LIBS" + elif [ "$show_cflags" = 1 ] + then +- echo "-I$includedir" ++ echo "" + elif [ "$show_libs" = 1 ] + then +- echo "-L$libdir -lpcap $LIBS" ++ echo "-lpcap $LIBS" + elif [ "$show_additional_libs" = 1 ] + then + echo "$LIBS" +@@ -80,15 +80,15 @@ + # + if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] + then +- echo "-I$includedir -L$libdir $RPATH -l$PACKAGE_NAME" ++ echo " $RPATH -l$PACKAGE_NAME" + elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] + then +- echo "-I$includedir" ++ echo "" + elif [ "$show_cflags" = 1 ] + then +- echo "-I$includedir" ++ echo "" + elif [ "$show_libs" = 1 ] + then +- echo "-L$libdir $RPATH -l$PACKAGE_NAME" ++ echo "$RPATH -l$PACKAGE_NAME" + fi + fi |