diff options
author | sevan <sevan@pkgsrc.org> | 2015-01-22 11:09:18 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2015-01-22 11:09:18 +0000 |
commit | 15d6afccab4ff43d5f4b39aebd962179f62724b2 (patch) | |
tree | 29518588ffb0fbcb103cf0d4960ce50edb727774 | |
parent | 7c9943edb3dbef1cfe11a881053acfb9dfc788c4 (diff) | |
download | pkgsrc-15d6afccab4ff43d5f4b39aebd962179f62724b2.tar.gz |
Like the other versions of Python available in our tree, do not trim the library
name on FreeBSD
Resolves packing issue which causes the package to fail
-rw-r--r-- | lang/python33/distinfo | 4 | ||||
-rw-r--r-- | lang/python33/patches/patch-configure | 25 |
2 files changed, 19 insertions, 10 deletions
diff --git a/lang/python33/distinfo b/lang/python33/distinfo index 491f7ff89e1..0000ae506f6 100644 --- a/lang/python33/distinfo +++ b/lang/python33/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.19 2015/01/01 21:39:45 he Exp $ +$NetBSD: distinfo,v 1.20 2015/01/22 11:09:18 sevan Exp $ SHA1 (Python-3.3.6.tar.xz) = 0a86ae9e877467a62faed7ece208c0d6899b0991 RMD160 (Python-3.3.6.tar.xz) = e45909eedf3648408ef8b34775ab24654181d9bd @@ -13,6 +13,6 @@ SHA1 (patch-an) = f497bc50789c957ee93b3e91f65cb8cd4f236d9b SHA1 (patch-au) = c892f1004eb32e9608f93c08ec6f94e16bdca182 SHA1 (patch-av) = 9b44f339f65f029b7f17dbc654739a7ae3c12780 SHA1 (patch-aw) = c47387f377faad6b12d688ae5d56fec1298fcce7 -SHA1 (patch-configure) = 92981c99065149f59a1ec9089117c0481f702800 +SHA1 (patch-configure) = 695e024b5dd590ca4987704e4b812489b9a8daab SHA1 (patch-pyconfig.h.in) = 7ebc0ed9ca9a37c5a6c8e04cc3f7fca4a5c90e8c SHA1 (patch-xa) = fb81eaa604b4ed7c1b64c3f4731d58a8aee257be diff --git a/lang/python33/patches/patch-configure b/lang/python33/patches/patch-configure index 717f53f3d87..5d5a592941d 100644 --- a/lang/python33/patches/patch-configure +++ b/lang/python33/patches/patch-configure @@ -1,7 +1,8 @@ -$NetBSD: patch-configure,v 1.1 2015/01/01 21:39:45 he Exp $ +$NetBSD: patch-configure,v 1.2 2015/01/22 11:09:18 sevan Exp $ Add support for MirBSD and Interix. Don't make SO-ABI-dependent shared lib names on Linux. +Don't trim the library name on FreeBSD. --- configure.orig 2014-10-12 07:03:54.000000000 +0000 +++ configure @@ -14,7 +15,7 @@ Don't make SO-ABI-dependent shared lib names on Linux. define_xopen_source=no # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is # also defined. This can be overridden by defining _BSD_SOURCE -@@ -5602,7 +5602,7 @@ $as_echo "#define Py_ENABLE_SHARED 1" >> +@@ -5602,15 +5602,10 @@ $as_echo "#define Py_ENABLE_SHARED 1" >> PY3LIBRARY=libpython3.so fi ;; @@ -23,7 +24,15 @@ Don't make SO-ABI-dependent shared lib names on Linux. LDLIBRARY='libpython$(LDVERSION).so' BLDLIBRARY='-L. -lpython$(LDVERSION)' RUNSHARED=LD_LIBRARY_PATH=`pwd`${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} -@@ -8473,8 +8473,8 @@ then +- case $ac_sys_system in +- FreeBSD*) +- SOVERSION=`echo $SOVERSION|cut -d "." -f 1` +- ;; +- esac + INSTSONAME="$LDLIBRARY".$SOVERSION + if test "$with_pydebug" != yes + then +@@ -8473,8 +8468,8 @@ then LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' else # No framework, use the Python app as bundle-loader @@ -34,7 +43,7 @@ Don't make SO-ABI-dependent shared lib names on Linux. LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)' fi ;; Darwin/*) -@@ -8499,9 +8499,9 @@ then +@@ -8499,9 +8494,9 @@ then LDCXXSHARED="$LDCXXSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' else # No framework, use the Python app as bundle-loader @@ -47,7 +56,7 @@ Don't make SO-ABI-dependent shared lib names on Linux. fi fi ;; -@@ -8535,9 +8535,15 @@ then +@@ -8535,9 +8530,15 @@ then ;; esac fi;; @@ -63,7 +72,7 @@ Don't make SO-ABI-dependent shared lib names on Linux. OpenUNIX*|UnixWare*) if test "$GCC" = "yes" ; then LDSHARED='$(CC) -shared' -@@ -8578,7 +8584,8 @@ then +@@ -8578,7 +8579,8 @@ then fi;; Linux*|GNU*) CCSHARED="-fPIC";; BSD/OS*/4*) CCSHARED="-fpic";; @@ -73,7 +82,7 @@ Don't make SO-ABI-dependent shared lib names on Linux. OpenUNIX*|UnixWare*) if test "$GCC" = "yes" then CCSHARED="-fPIC" -@@ -8621,11 +8628,12 @@ then +@@ -8621,11 +8623,12 @@ then OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";; SCO_SV*) LINKFORSHARED="-Wl,-Bexport";; ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";; @@ -87,7 +96,7 @@ Don't make SO-ABI-dependent shared lib names on Linux. SunOS/5*) case $CC in *gcc*) if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null -@@ -13766,8 +13774,6 @@ $as_echo "$SOABI" >&6; } +@@ -13766,8 +13769,6 @@ $as_echo "$SOABI" >&6; } case $ac_sys_system in |