1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix Content of LD_SEARCH_FLAGS

- make FreeBSD-* switch in confugure work as intendend
- add a patch to make manual autoconf work
- PORTREVISION bumped

PR:		28726
This commit is contained in:
Dirk Meyer 2001-08-14 08:01:45 +00:00
parent 5eef902481
commit db2cbd7315
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46222
8 changed files with 62 additions and 64 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.3.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang tcl83
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_3

View File

@ -1,31 +0,0 @@
--- configure.orig Tue Aug 8 15:17:11 2000
+++ configure Tue Dec 5 11:37:50 2000
@@ -5032,7 +5032,7 @@
LDFLAGS="-Wl,-Bexport"
LD_SEARCH_FLAGS=""
;;
- NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
+ NetBSD-*|FreeBSD-*|OpenBSD-*)
# 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
@@ -5116,18 +5116,8 @@
# FreeBSD doesn't handle version numbers with dots.
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
TCL_LIB_VERSIONS_OK=nodots
- ;;
- FreeBSD-*)
- # FreeBSD 3.* and greater have ELF.
- SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="ld -Bshareable -x"
- SHLIB_LD_LIBS=""
- SHLIB_SUFFIX=".so"
- DL_OBJS="tclLoadDl.o"
- DL_LIBS=""
- LDFLAGS="-export-dynamic"
- LD_SEARCH_FLAGS=""
;;
NEXTSTEP-*)
SHLIB_CFLAGS=""

View File

@ -0,0 +1,15 @@
--- configure.orig Fri Apr 6 20:51:46 2001
+++ configure Tue Aug 14 09:25:13 2001
@@ -5175,8 +5175,11 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="-export-dynamic"
+ LDFLAGS=""
LD_SEARCH_FLAGS=""
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
+ TCL_LIB_VERSIONS_OK=nodots
;;
Rhapsody-*|Darwin-*)
SHLIB_CFLAGS="-fno-common"

View File

@ -0,0 +1,15 @@
--- tcl.m4.orig Fri Apr 6 20:51:46 2001
+++ tcl.m4 Tue Aug 14 09:24:56 2001
@@ -890,8 +890,11 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="-export-dynamic"
+ LDFLAGS=""
LD_SEARCH_FLAGS=""
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
+ TCL_LIB_VERSIONS_OK=nodots
;;
Rhapsody-*|Darwin-*)
SHLIB_CFLAGS="-fno-common"

View File

@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.3.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= lang tcl83
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_3

View File

@ -1,31 +0,0 @@
--- configure.orig Tue Aug 8 15:17:11 2000
+++ configure Tue Dec 5 11:37:50 2000
@@ -5032,7 +5032,7 @@
LDFLAGS="-Wl,-Bexport"
LD_SEARCH_FLAGS=""
;;
- NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
+ NetBSD-*|FreeBSD-*|OpenBSD-*)
# 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
@@ -5116,18 +5116,8 @@
# FreeBSD doesn't handle version numbers with dots.
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
TCL_LIB_VERSIONS_OK=nodots
- ;;
- FreeBSD-*)
- # FreeBSD 3.* and greater have ELF.
- SHLIB_CFLAGS="-fPIC"
- SHLIB_LD="ld -Bshareable -x"
- SHLIB_LD_LIBS=""
- SHLIB_SUFFIX=".so"
- DL_OBJS="tclLoadDl.o"
- DL_LIBS=""
- LDFLAGS="-export-dynamic"
- LD_SEARCH_FLAGS=""
;;
NEXTSTEP-*)
SHLIB_CFLAGS=""

View File

@ -0,0 +1,15 @@
--- configure.orig Fri Apr 6 20:51:46 2001
+++ configure Tue Aug 14 09:25:13 2001
@@ -5175,8 +5175,11 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="-export-dynamic"
+ LDFLAGS=""
LD_SEARCH_FLAGS=""
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
+ TCL_LIB_VERSIONS_OK=nodots
;;
Rhapsody-*|Darwin-*)
SHLIB_CFLAGS="-fno-common"

View File

@ -0,0 +1,15 @@
--- tcl.m4.orig Fri Apr 6 20:51:46 2001
+++ tcl.m4 Tue Aug 14 09:24:56 2001
@@ -890,8 +890,11 @@
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
- LDFLAGS="-export-dynamic"
+ LDFLAGS=""
LD_SEARCH_FLAGS=""
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
+ TCL_LIB_VERSIONS_OK=nodots
;;
Rhapsody-*|Darwin-*)
SHLIB_CFLAGS="-fno-common"