summaryrefslogtreecommitdiff
path: root/lang/python32
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-09-10 14:22:29 +0000
committerjoerg <joerg@pkgsrc.org>2013-09-10 14:22:29 +0000
commitc813f1100c0c766919e7427b017d70d4d13f3995 (patch)
tree16c9b2bb05d2aa3b5f9996730ab61cddf5e3089a /lang/python32
parent29b8e2b19b149eaa52698859c6d3c6ef21f62fdc (diff)
downloadpkgsrc-c813f1100c0c766919e7427b017d70d4d13f3995.tar.gz
Always pass rpath argument with -Wl prefix, especially if clang is not called
gcc. Bump revision.
Diffstat (limited to 'lang/python32')
-rw-r--r--lang/python32/Makefile4
-rw-r--r--lang/python32/distinfo3
-rw-r--r--lang/python32/patches/patch-Lib_distutils_unixccompiler.py13
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index e9fc6acc36f..197c4eb5817 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2013/08/09 10:54:17 drochner Exp $
+# $NetBSD: Makefile,v 1.8 2013/09/10 14:22:30 joerg Exp $
.include "dist.mk"
PKGNAME= python32-${PY_DISTVERSION}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= lang python
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/lang/python32/distinfo b/lang/python32/distinfo
index 02c23885e1c..a5287a200a4 100644
--- a/lang/python32/distinfo
+++ b/lang/python32/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2013/08/09 10:54:17 drochner Exp $
+$NetBSD: distinfo,v 1.6 2013/09/10 14:22:30 joerg Exp $
SHA1 (Python-3.2.3.tar.bz2) = 4c2d562a0681ba27bc920500050e2f08de224311
RMD160 (Python-3.2.3.tar.bz2) = a4d902bc4436ea28df3d706015afd6e0f50131f4
Size (Python-3.2.3.tar.bz2) = 10743046 bytes
+SHA1 (patch-Lib_distutils_unixccompiler.py) = 4265844957fcdb9e8e0ed03b490898a16d16624c
SHA1 (patch-aa) = 99ebcbbfc53b855a32b424dec27012e1e969c3d0
SHA1 (patch-ab) = 1c0a25bf7ec6ee76e84c799619ec7cd8910f16e1
SHA1 (patch-ah) = bb43aaab260935a5a0d5e7ce1ccc30f4832cab1d
diff --git a/lang/python32/patches/patch-Lib_distutils_unixccompiler.py b/lang/python32/patches/patch-Lib_distutils_unixccompiler.py
new file mode 100644
index 00000000000..ec28bcdd1b0
--- /dev/null
+++ b/lang/python32/patches/patch-Lib_distutils_unixccompiler.py
@@ -0,0 +1,13 @@
+$NetBSD: patch-Lib_distutils_unixccompiler.py,v 1.1 2013/09/10 14:22:30 joerg Exp $
+
+--- Lib/distutils/unixccompiler.py.orig 2012-04-11 06:54:02.000000000 +0000
++++ Lib/distutils/unixccompiler.py
+@@ -290,7 +290,7 @@ class UnixCCompiler(CCompiler):
+ elif sys.platform[:7] == "irix646" or sys.platform[:6] == "osf1V5":
+ return ["-rpath", dir]
+ else:
+- if self._is_gcc(compiler):
++ if True:
+ # gcc on non-GNU systems does not need -Wl, but can
+ # use it anyway. Since distutils has always passed in
+ # -Wl whenever gcc was used in the past it is probably