diff options
author | 2019-08-24 12:10:50 +0200 | |
---|---|---|
committer | 2019-08-24 12:11:32 +0200 | |
commit | a14f74fb4da41d0c6ac8ff511a33b3209fb56fd1 (patch) | |
tree | f86467b0e95cc66cc4efd3f32f89a8247f5f3966 /net-libs/libpcap/files | |
parent | net-libs/libpcap: Update live ebuild (diff) | |
download | gentoo-a14f74fb4da41d0c6ac8ff511a33b3209fb56fd1.tar.gz gentoo-a14f74fb4da41d0c6ac8ff511a33b3209fb56fd1.tar.bz2 gentoo-a14f74fb4da41d0c6ac8ff511a33b3209fb56fd1.zip |
net-libs/libpcap: pcap-config: Do not hardcode includedir
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Bug: https://bugs.gentoo.org/692772
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-libs/libpcap/files')
-rw-r--r-- | net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch b/net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch new file mode 100644 index 000000000000..cd2c9fe61f2f --- /dev/null +++ b/net-libs/libpcap/files/libpcap-1.9.0-pcap-config-includedir.patch @@ -0,0 +1,36 @@ +--- a/pcap-config.in ++++ b/pcap-config.in +@@ -59,13 +59,13 @@ + # + if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] + then +- echo "-I$includedir -L$libdir -lpcap $LIBS" ++ echo "-L$libdir -lpcap $LIBS" + elif [ "$show_cflags" = 1 -a "$show_additional_libs" = 1 ] + then +- echo "-I$includedir -L$libdir $LIBS" ++ echo "-L$libdir $LIBS" + elif [ "$show_cflags" = 1 ] + then +- echo "-I$includedir" ++ echo "" + elif [ "$show_libs" = 1 ] + then + echo "-L$libdir -lpcap $LIBS" +@@ -80,13 +80,13 @@ + # + if [ "$show_cflags" = 1 -a "$show_libs" = 1 ] + then +- echo "-I$includedir -L$libdir $RPATH -l$PACKAGE_NAME" ++ echo "-L$libdir $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" |