* [gentoo-commits] gentoo-x86 commit in net-analyzer/hping/files: hping-3_pre20051105-libtcl.patch
@ 2009-12-23 14:02 Jeroen Roovers (jer)
0 siblings, 0 replies; only message in thread
From: Jeroen Roovers (jer) @ 2009-12-23 14:02 UTC (permalink / raw
To: gentoo-commits
jer 09/12/23 14:02:26
Added: hping-3_pre20051105-libtcl.patch
Log:
Build the Tcl linker arguments more reliably (bug #247282).
(Portage version: 2.2_rc60/cvs/Linux i686)
Revision Changes Path
1.1 net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/files/hping-3_pre20051105-libtcl.patch?rev=1.1&content-type=text/plain
Index: hping-3_pre20051105-libtcl.patch
===================================================================
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
#
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-23 14:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-23 14:02 [gentoo-commits] gentoo-x86 commit in net-analyzer/hping/files: hping-3_pre20051105-libtcl.patch Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox