summaryrefslogtreecommitdiff
path: root/lang/python32/files/patch-Makefile.pre.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/python32/files/patch-Makefile.pre.in26
1 files changed, 24 insertions, 2 deletions
diff --git a/lang/python32/files/patch-Makefile.pre.in b/lang/python32/files/patch-Makefile.pre.in
index 997211fbf9a8..60c15542e123 100644
--- a/lang/python32/files/patch-Makefile.pre.in
+++ b/lang/python32/files/patch-Makefile.pre.in
@@ -1,5 +1,17 @@
---- Makefile.pre.in.orig 2013-05-16 02:33:51.000000000 +1000
-+++ Makefile.pre.in 2013-09-05 23:42:32.910025692 +1000
+# Description: Remove duplicate CFLAGS, CPPFLAGS, LDFLAGS by stripping CONFIGURE_*
+# Submitted by: koobs (r326729)
+# TODO: Upstream
+
+# Description: Fix out-of-tree build as a result of upstream #15819
+# Submitted by: rm (r318353)
+# Issue ID: http://bugs.python.org/issue15819#msg203348
+
+# Description: Run ranlib before installing the library read-only
+# Submitted by: antoine@ (r350207)
+# TODO: Upstream
+
+--- ./Makefile.pre.in.orig 2013-05-16 02:33:51.000000000 +1000
++++ ./Makefile.pre.in 2014-04-20 23:27:06.346079817 +1000
@@ -70,18 +70,18 @@
OPT= @OPT@
BASECFLAGS= @BASECFLAGS@
@@ -69,3 +81,13 @@
############################################################################
# Header files
+@@ -1108,8 +1108,8 @@
+ if test "$(SHLIB_SUFFIX)" = .dll; then \
+ $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
+ else \
++ $(RANLIB) $(LIBRARY) ; \
+ $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
+- $(RANLIB) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
+ fi; \
+ else \
+ echo Skip install of $(LIBRARY) - use make frameworkinstall; \