diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-12-23 14:02:25 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-12-23 14:02:25 +0000 |
commit | 081e358f9334edcab69c6e0355ecbcb34896f65d (patch) | |
tree | 0a13672b6d148874a3dcd93eb9b2259a3eaf2c26 /net-analyzer/hping/files | |
parent | Marked ~ppc (bug #297830). (diff) | |
download | gentoo-2-081e358f9334edcab69c6e0355ecbcb34896f65d.tar.gz gentoo-2-081e358f9334edcab69c6e0355ecbcb34896f65d.tar.bz2 gentoo-2-081e358f9334edcab69c6e0355ecbcb34896f65d.zip |
Build the Tcl linker arguments more reliably (bug #247282).
(Portage version: 2.2_rc60/cvs/Linux i686)
Diffstat (limited to 'net-analyzer/hping/files')
-rw-r--r-- | net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch b/net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch new file mode 100644 index 000000000000..4d374cf06eaf --- /dev/null +++ b/net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch @@ -0,0 +1,16 @@ +When anything libtcl (bug #247282) this will fail, and we're only finding out +the version of the library anyway, so why not use TCL_VER, which is found using +a slightly less fishy method. -JeR + +--- configure.org 2009-12-23 14:53:34.000000000 +0100 ++++ configure 2009-12-23 14:56:34.000000000 +0100 +@@ -98,8 +98,7 @@ + fi + if [ -n $USE_TCL ] + then +- LIBPOSTFIX=`ls -1 /usr/local/lib/ /usr/lib | grep 'libtcl[0-9]' | grep so | sed -e 's/\.so.*//g' -e 's/libtcl//g' | sort -r | head -1` +- TCL_LIB="-ltcl${LIBPOSTFIX} -lm -lpthread" ++ TCL_LIB="-ltcl${TCL_VER} -lm -lpthread" + fi + + # |