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
Thomas Gellekum bd60810ce7 Fix building modules on -current.
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
2000-04-17 07:38:02 +00:00

21 lines
851 B
Plaintext

--- configure.orig Sat Apr 10 18:02:18 1999
+++ configure Fri Sep 10 09:47:29 1999
@@ -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}';;
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";;
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
# -u libsys_s pulls in all symbols in libsys
next/2*|next/3*) LINKFORSHARED="-u libsys_s";;