openbsd-ports/telephony/iaxclient/patches/patch-contrib_tcl_configure
sebastia a540a8b3b4 Initial import of iaxclient 2.1beta3
A lightweight cross platform IP telephony client using
the IAX protocol, designed for use with the asterisk
open source PBX.

OK, landry@ jasper@
2010-06-18 17:32:21 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-contrib_tcl_configure,v 1.1 2010/06/18 17:32:21 sebastia Exp $
--- contrib/tcl/configure.orig Mon Apr 7 18:05:36 2008
+++ contrib/tcl/configure Sun Dec 6 20:59:31 2009
@@ -6685,7 +6685,7 @@ else
else
- vars="-lpthread -lasound"
+ vars="-pthread"
for i in $vars; do
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
# Convert foo.lib to -lfoo for GCC. No-op if not *.lib
@@ -8476,7 +8476,7 @@ echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
if test $tcl_cv_ld_elf = yes; then
SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
else
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${LIBtcliaxclient02_VERSION}'
fi
# Ancient FreeBSD doesn't handle version numbers with dots.
@@ -8499,7 +8499,7 @@ echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
DL_LIBS=""
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${LIBtcliaxclient02_VERSION}'
{ echo "$as_me:$LINENO: checking for ELF" >&5
echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
if test "${tcl_cv_ld_elf+set}" = set; then