ports/152671: update of lang/python27 to 2.7.1 breaks multiple
extensions
Milos Negovanovic
milos.negovanovic at gmail.com
Mon Nov 29 23:10:13 UTC 2010
The following reply was made to PR ports/152671; it has been noted by GNATS.
From: Milos Negovanovic <milos.negovanovic at gmail.com>
To: wen heping <wenheping at gmail.com>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/152671: update of lang/python27 to 2.7.1 breaks multiple
extensions
Date: Mon, 29 Nov 2010 23:00:17 +0000
I was able to fix the issue with following patch to my python 2.7.1
install:
--- /usr/local/lib/python2.7/config/Makefile.orig 2010-11-29 22:32:30.000000000 +0000
+++ /usr/local/lib/python2.7/config/Makefile 2010-11-29 22:52:32.000000000 +0000
@@ -106,9 +106,9 @@
# Symbols used for using shared libraries
SO= .so
-LDSHARED= $(CC) -shared ${LDFLAGS} $(LDFLAGS)
-BLDSHARED= $(CC) -shared ${LDFLAGS} $(LDFLAGS)
-LDCXXSHARED= $(CXX) -shared ${LDFLAGS}
+LDSHARED= $(CC) -shared $(LDFLAGS)
+BLDSHARED= $(CC) -shared $(LDFLAGS)
+LDCXXSHARED= $(CXX) -shared $(LDFLAGS)
DESTSHARED= $(BINLIBDEST)/lib-dynload
# Executable suffix (.exe on Windows and Mac OS X)
File that generates this Makefile probably needs to be patched at
compile time.
--
Milos Negovanovic
milos.negovanovic at gmail.com
More information about the freebsd-python
mailing list