From 2df76eb0a73bb59d817aa60758a5f10e3e544c3b Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 30 Jan 2007 10:25:34 +0000 Subject: - Remove support for a.out format and PORTOBJFORMAT variable from individual ports With hat: portmgr --- lang/tcl82/files/patch-ab | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lang/tcl82/files/patch-ab') diff --git a/lang/tcl82/files/patch-ab b/lang/tcl82/files/patch-ab index b4b6a5a660f4..ed0e1646d0a9 100644 --- a/lang/tcl82/files/patch-ab +++ b/lang/tcl82/files/patch-ab @@ -18,7 +18,7 @@ # Not available on all versions: check for include file. ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 -@@ -4922,16 +4922,21 @@ +@@ -4922,16 +4922,16 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 @@ -33,14 +33,9 @@ LDFLAGS="" LD_SEARCH_FLAGS="" - SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0' -+ if eval "test \"`echo ${PORTOBJFORMAT}`\" = elf" ; then + SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1' + TCL_SHLIB_LD_EXTRAS="-soname \$@" + SHLIB_LD="ld -shared -x" -+ else -+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1.0' -+ SHLIB_LD="ld -Bshareable -x" -+ fi else echo "$ac_t""no" 1>&6 -- cgit v1.2.3