1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/python15/files/patch-ab

21 lines
851 B
Plaintext
Raw Normal View History

--- configure.orig Sat Apr 10 18:02:18 1999
+++ configure Fri Sep 10 09:47:29 1999
1999-05-10 16:11:45 +00:00
@@ -2246,7 +2246,7 @@
fi ;;
Linux*) LDSHARED="gcc -shared";;
dgux*) LDSHARED="ld -G";;
- FreeBSD*/3*) LDSHARED="gcc -shared";;
+ FreeBSD*/3*|FreeBSD*/4*|FreeBSD*/5*) LDSHARED='gcc -shared ${LDFLAGS}';;
1999-05-10 16:11:45 +00:00
FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
NetBSD*)
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
@@ -2292,7 +2292,7 @@
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
hp*|HP*)
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
- FreeBSD/3*) LINKFORSHARED="-Xlinker -export-dynamic";;
+ FreeBSD/3*|FreeBSD/4*|FreeBSD*/5*) LINKFORSHARED="-Xlinker -export-dynamic";;
1999-05-10 16:11:45 +00:00
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
# -u libsys_s pulls in all symbols in libsys
next/2*|next/3*) LINKFORSHARED="-u libsys_s";;