aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-04-17 15:38:02 +0800
committertg <tg@FreeBSD.org>2000-04-17 15:38:02 +0800
commita06d28970a4a96f551d921f9fb62cfdee557b8d8 (patch)
treecc47ab5cf1376d99f59b3a132aa464792ff2492e
parent306cb27130d6523bd4fce0e7f53e8eac35b3f7d5 (diff)
downloadfreebsd-ports-gnome-a06d28970a4a96f551d921f9fb62cfdee557b8d8.tar.gz
freebsd-ports-gnome-a06d28970a4a96f551d921f9fb62cfdee557b8d8.tar.zst
freebsd-ports-gnome-a06d28970a4a96f551d921f9fb62cfdee557b8d8.zip
Fix building modules on -current.
Submitted by: Maxim Sobolev <sobomax@altavista.net>
-rw-r--r--lang/python15/files/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python15/files/patch-ab b/lang/python15/files/patch-ab
index 3e7967c7c729..fb676ed33a08 100644
--- a/lang/python15/files/patch-ab
+++ b/lang/python15/files/patch-ab
@@ -5,7 +5,7 @@
Linux*) LDSHARED="gcc -shared";;
dgux*) LDSHARED="ld -G";;
- FreeBSD*/3*) LDSHARED="gcc -shared";;
-+ FreeBSD*/3*|FreeBSD*/4*) LDSHARED='gcc -shared ${LDFLAGS}';;
++ FreeBSD*/3*|FreeBSD*/4*|FreeBSD*/5*) LDSHARED='gcc -shared ${LDFLAGS}';;
FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
NetBSD*)
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
@@ -14,7 +14,7 @@
hp*|HP*)
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
- FreeBSD/3*) LINKFORSHARED="-Xlinker -export-dynamic";;
-+ FreeBSD/3*|FreeBSD/4*) 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";;