[58145] trunk/dports/lang/python31/files/locale_fix.patch

erickt at macports.org erickt at macports.org
Tue Sep 22 16:50:19 PDT 2009


Revision: 58145
          http://trac.macports.org/changeset/58145
Author:   erickt at macports.org
Date:     2009-09-22 16:50:18 -0700 (Tue, 22 Sep 2009)
Log Message:
-----------
Forgot to remove this file.

Removed Paths:
-------------
    trunk/dports/lang/python31/files/locale_fix.patch

Deleted: trunk/dports/lang/python31/files/locale_fix.patch
===================================================================
--- trunk/dports/lang/python31/files/locale_fix.patch	2009-09-22 23:49:18 UTC (rev 58144)
+++ trunk/dports/lang/python31/files/locale_fix.patch	2009-09-22 23:50:18 UTC (rev 58145)
@@ -1,131 +0,0 @@
-Index: configure
-===================================================================
---- configure	(revision 73052)
-+++ configure	(working copy)
-@@ -1,5 +1,5 @@
- #! /bin/sh
--# From configure.in Revision: 72899 .
-+# From configure.in Revision: 73021 .
- # Guess values for system-dependent variables and create Makefiles.
- # Generated by GNU Autoconf 2.61 for python 3.1.
- #
-@@ -13501,6 +13501,74 @@
- fi
- { echo "$as_me:$LINENO: result: $CCSHARED" >&5
- echo "${ECHO_T}$CCSHARED" >&6; }
-+
-+# check if we need libintl for locale functions
-+{ echo "$as_me:$LINENO: checking for textdomain in -lintl" >&5
-+echo $ECHO_N "checking for textdomain in -lintl... $ECHO_C" >&6; }
-+if test "${ac_cv_lib_intl_textdomain+set}" = set; then
-+  echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+  ac_check_lib_save_LIBS=$LIBS
-+LIBS="-lintl  $LIBS"
-+cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h.  */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
-+/* end confdefs.h.  */
-+
-+/* Override any GCC internal prototype to avoid an error.
-+   Use char because int might match the return type of a GCC
-+   builtin and then its argument prototype would still apply.  */
-+#ifdef __cplusplus
-+extern "C"
-+#endif
-+char textdomain ();
-+int
-+main ()
-+{
-+return textdomain ();
-+  ;
-+  return 0;
-+}
-+_ACEOF
-+rm -f conftest.$ac_objext conftest$ac_exeext
-+if { (ac_try="$ac_link"
-+case "(($ac_try" in
-+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-+  *) ac_try_echo=$ac_try;;
-+esac
-+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-+  (eval "$ac_link") 2>conftest.er1
-+  ac_status=$?
-+  grep -v '^ *+' conftest.er1 >conftest.err
-+  rm -f conftest.er1
-+  cat conftest.err >&5
-+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-+  (exit $ac_status); } && {
-+	 test -z "$ac_c_werror_flag" ||
-+	 test ! -s conftest.err
-+       } && test -s conftest$ac_exeext &&
-+       $as_test_x conftest$ac_exeext; then
-+  ac_cv_lib_intl_textdomain=yes
-+else
-+  echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+	ac_cv_lib_intl_textdomain=no
-+fi
-+
-+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-+      conftest$ac_exeext conftest.$ac_ext
-+LIBS=$ac_check_lib_save_LIBS
-+fi
-+{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_textdomain" >&5
-+echo "${ECHO_T}$ac_cv_lib_intl_textdomain" >&6; }
-+if test $ac_cv_lib_intl_textdomain = yes; then
-+  have_intl=yes
-+fi
-+
-+
- # LINKFORSHARED are the flags passed to the $(CC) command that links
- # the python executable -- this is only needed for a few systems
- { echo "$as_me:$LINENO: checking LINKFORSHARED" >&5
-@@ -13516,7 +13584,12 @@
- 	Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
- 	# -u libsys_s pulls in all symbols in libsys
- 	Darwin/*)
--		LINKFORSHARED="$extra_undefs -framework CoreFoundation"
-+                if test $have_intl
-+                then
-+		   LINKFORSHARED="$extra_undefs -lintl"
-+                else
-+                   LINKFORSHARED="$extra_undefs -framework CoreFoundation"
-+                fi
- 		if test "$enable_framework"
- 		then
- 			LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
-Index: configure.in
-===================================================================
---- configure.in	(revision 73052)
-+++ configure.in	(working copy)
-@@ -1722,6 +1722,10 @@
- 	esac
- fi
- AC_MSG_RESULT($CCSHARED)
-+
-+# check if we need libintl for locale functions
-+AC_CHECK_LIB(intl, textdomain, have_intl=yes)
-+
- # LINKFORSHARED are the flags passed to the $(CC) command that links
- # the python executable -- this is only needed for a few systems
- AC_MSG_CHECKING(LINKFORSHARED)
-@@ -1735,8 +1739,13 @@
- 	BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
- 	Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
- 	# -u libsys_s pulls in all symbols in libsys
--	Darwin/*) 
--		LINKFORSHARED="$extra_undefs -framework CoreFoundation"
-+	Darwin/*)
-+                if test $have_intl
-+                then
-+		   LINKFORSHARED="$extra_undefs -lintl"
-+                else
-+                   LINKFORSHARED="$extra_undefs -framework CoreFoundation"
-+                fi
- 		if test "$enable_framework"
- 		then
- 			LINKFORSHARED="$LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090922/e7f535cf/attachment.html>


More information about the macports-changes mailing list