Revision
53152
Author
ryandesign@macports.org
Date
2009-06-30 04:39:45 -0700 (Tue, 30 Jun 2009)

Log Message

python31: fix "can't locate file for: -lintl" build error; see #20092

Modified Paths

Added Paths

Diff

Modified: trunk/dports/lang/python31/Portfile (53151 => 53152)


--- trunk/dports/lang/python31/Portfile	2009-06-30 11:11:17 UTC (rev 53151)
+++ trunk/dports/lang/python31/Portfile	2009-06-30 11:39:45 UTC (rev 53152)
@@ -29,7 +29,8 @@
                         sha1    f8c610f47e6c9420314e48871b9c697a93ed2e42 \
                         rmd160  e41d8fd9c24d567f05835a1f9de6ba679ce2fd38
 
-patchfiles              patch-setup.py.diff \
+patchfiles              patch-Makefile.pre.in.diff \
+                        patch-setup.py.diff \
                         patch-Lib-cgi.py.diff \
                         patch-Lib-distutils-dist.py.diff
 

Added: trunk/dports/lang/python31/files/patch-Makefile.pre.in.diff (0 => 53152)


--- trunk/dports/lang/python31/files/patch-Makefile.pre.in.diff	                        (rev 0)
+++ trunk/dports/lang/python31/files/patch-Makefile.pre.in.diff	2009-06-30 11:39:45 UTC (rev 53152)
@@ -0,0 +1,15 @@
+--- Makefile.pre.in.orig	2009-06-11 17:54:11.000000000 -0500
++++ Makefile.pre.in	2009-06-30 06:31:51.000000000 -0500
+@@ -463,10 +463,10 @@
+ 			-install_name $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) \
+ 			-compatibility_version $(VERSION) \
+ 			-current_version $(VERSION) \
+-			-framework CoreFoundation $(LIBS); \
++			-framework CoreFoundation $(LIBS) $(LDFLAGS); \
+         else \
+ 		/usr/bin/libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) \
+-			@LIBTOOL_CRUFT@ -framework CoreFoundation $(LIBS);\
++			@LIBTOOL_CRUFT@ -framework CoreFoundation $(LIBS) $(LDFLAGS);\
+ 	fi
+ 	$(INSTALL) -d -m $(DIRMODE)  \
+ 		$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj