You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/hping/files/hping-3_pre20051105-libtcl....

17 lines
507 B

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
--- a/configure
+++ b/configure
@@ -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
#