summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-11-30 03:34:54 +0000
committerWen Heping <wen@FreeBSD.org>2010-11-30 03:34:54 +0000
commit8ce9760c30d43446a491835734afbc0bc2a73849 (patch)
treeb1701f5f1abf946b27947cba937e38007e95b427 /lang
parent- Document phpMyAdmin XSS attack in database search (diff)
- Fix the run error when build c extensions
PR: ports/152671 Submitted by: Milos Negovanovic <milos.negovanovic@gmail.com>
Notes
Notes: svn path=/head/; revision=265425
Diffstat (limited to 'lang')
-rw-r--r--lang/python27/Makefile1
-rw-r--r--lang/python27/files/patch-Makefile.pre.in13
2 files changed, 14 insertions, 0 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 04c901d68c1a..c14d405fde8f 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -6,6 +6,7 @@
PORTNAME= python27
PORTVERSION= 2.7.1
+PORTREVISION= 1
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
diff --git a/lang/python27/files/patch-Makefile.pre.in b/lang/python27/files/patch-Makefile.pre.in
new file mode 100644
index 000000000000..d5d1bd6c5e86
--- /dev/null
+++ b/lang/python27/files/patch-Makefile.pre.in
@@ -0,0 +1,13 @@
+--- Makefile.pre.in.orig 2010-11-30 09:05:24.000000000 +0800
++++ Makefile.pre.in 2010-11-30 09:05:48.000000000 +0800
+@@ -105,8 +105,8 @@
+
+ # Symbols used for using shared libraries
+ SO= @SO@
+-LDSHARED= @LDSHARED@ $(LDFLAGS)
+-BLDSHARED= @BLDSHARED@ $(LDFLAGS)
++LDSHARED= @LDSHARED@
++BLDSHARED= @BLDSHARED@
+ LDCXXSHARED= @LDCXXSHARED@
+ DESTSHARED= $(BINLIBDEST)/lib-dynload
+