diff options
author | perky <perky@FreeBSD.org> | 2004-06-04 13:21:57 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-06-04 13:21:57 +0800 |
commit | dd1410e84a948691468b710f3bfedefe8d7f94a9 (patch) | |
tree | 94ad47a69de93b616737de0e47e88dc68fe89b46 /lang/python23 | |
parent | 15afd931afa664c5d511a4ada8db12d2afeb8bdd (diff) | |
download | freebsd-ports-gnome-dd1410e84a948691468b710f3bfedefe8d7f94a9.tar.gz freebsd-ports-gnome-dd1410e84a948691468b710f3bfedefe8d7f94a9.tar.zst freebsd-ports-gnome-dd1410e84a948691468b710f3bfedefe8d7f94a9.zip |
Use ${CC} instead of cc on dynamic linkings.
PR: 67515
Submitted by: michael johnson <ahze@ahze.net>
Diffstat (limited to 'lang/python23')
-rw-r--r-- | lang/python23/files/patch-configure | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lang/python23/files/patch-configure b/lang/python23/files/patch-configure index 46e70b302d23..fe9629450d08 100644 --- a/lang/python23/files/patch-configure +++ b/lang/python23/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.orig Wed Nov 19 04:59:36 2003 -+++ configure Wed Apr 14 15:37:53 2004 +--- configure.orig Sat May 8 04:13:40 2004 ++++ configure Fri Jun 4 14:15:59 2004 @@ -1321,7 +1321,7 @@ VERSION=2.3 @@ -9,7 +9,7 @@ # The later defininition of _XOPEN_SOURCE disables certain features # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone). -@@ -3608,6 +3608,12 @@ +@@ -3609,6 +3609,12 @@ RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH} INSTSONAME="$LDLIBRARY".$SOVERSION ;; @@ -22,7 +22,16 @@ hp*|HP*) LDLIBRARY='libpython$(VERSION).sl' BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)' -@@ -12272,7 +12278,7 @@ +@@ -10100,7 +10106,7 @@ + OpenBSD*|FreeBSD*) + if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ] + then +- LDSHARED="cc -shared ${LDFLAGS}" ++ LDSHARED="$CC -shared ${LDFLAGS}" + else + LDSHARED="ld -Bshareable ${LDFLAGS}" + fi;; +@@ -12273,7 +12279,7 @@ ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then |