pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python33 Like the other versions of Python availa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2e787ab09c28
branches: trunk
changeset: 645060:2e787ab09c28
user: sevan <sevan%pkgsrc.org@localhost>
date: Thu Jan 22 11:09:18 2015 +0000
description:
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
diffstat:
lang/python33/distinfo | 4 ++--
lang/python33/patches/patch-configure | 25 +++++++++++++++++--------
2 files changed, 19 insertions(+), 10 deletions(-)
diffs (101 lines):
diff -r 5e4e742c7b70 -r 2e787ab09c28 lang/python33/distinfo
--- a/lang/python33/distinfo Thu Jan 22 09:32:49 2015 +0000
+++ b/lang/python33/distinfo Thu Jan 22 11:09:18 2015 +0000
@@ -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-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 -r 5e4e742c7b70 -r 2e787ab09c28 lang/python33/patches/patch-configure
--- a/lang/python33/patches/patch-configure Thu Jan 22 09:32:49 2015 +0000
+++ b/lang/python33/patches/patch-configure Thu Jan 22 11:09:18 2015 +0000
@@ -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 @@
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 @@
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 @@
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 @@
fi
fi
;;
-@@ -8535,9 +8535,15 @@ then
+@@ -8535,9 +8530,15 @@ then
;;
esac
fi;;
@@ -63,7 +72,7 @@
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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index