diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2004-06-04 05:21:57 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2004-06-04 05:21:57 +0000 |
commit | 7d6e16a1f2026934c0002333a8ad94d527b246b3 (patch) | |
tree | 83677726d69d4f5d95ad499608220ef4d3553755 /lang/python | |
parent | Update to 2.2.7 (diff) |
Use ${CC} instead of cc on dynamic linkings.
PR: 67515
Submitted by: michael johnson <ahze@ahze.net>
Notes
Notes:
svn path=/head/; revision=110805
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/files/patch-configure | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/lang/python/files/patch-configure b/lang/python/files/patch-configure index 46e70b302d23..fe9629450d08 100644 --- a/lang/python/files/patch-configure +++ b/lang/python/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 |