[57191] trunk/dports/lang/python26/files/patch-64bit.diff

jmr at macports.org jmr at macports.org
Sun Sep 6 22:45:19 PDT 2009


Revision: 57191
          http://trac.macports.org/changeset/57191
Author:   jmr at macports.org
Date:     2009-09-06 22:45:19 -0700 (Sun, 06 Sep 2009)
Log Message:
-----------
python26: fix autoconf check for 32/64-bit

Modified Paths:
--------------
    trunk/dports/lang/python26/files/patch-64bit.diff

Modified: trunk/dports/lang/python26/files/patch-64bit.diff
===================================================================
--- trunk/dports/lang/python26/files/patch-64bit.diff	2009-09-07 05:42:42 UTC (rev 57190)
+++ trunk/dports/lang/python26/files/patch-64bit.diff	2009-09-07 05:45:19 UTC (rev 57191)
@@ -66,12 +66,12 @@
      fi
      LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
      LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
-@@ -1538,7 +1550,48 @@
+@@ -1538,7 +1550,49 @@
          else 
              LIBTOOL_CRUFT=""
      fi
 -    LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only `arch`"
-+    AC_TRY_RUN([[
++    AC_TRY_RUN([
 +    #include <unistd.h>
 +    int main(int argc, char*argv[])
 +    {
@@ -80,7 +80,8 @@
 +      } else {
 +      	  return 1;
 +      }
-+    ]], ac_osx_32bit=yes,
++    }
++    ], ac_osx_32bit=yes,
 +       ac_osx_32bit=no,
 +       ac_osx_32bit=no)
 +    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090906/5914f28f/attachment.html>


More information about the macports-changes mailing list