Created
August 25, 2009 11:36
-
-
Save sixones/174647 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: Portfile | |
=================================================================== | |
--- Portfile (revision 53834) | |
+++ Portfile (working copy) | |
@@ -38,6 +38,14 @@ | |
configure.args --enable-shared \ | |
--mandir=${prefix}/share/man | |
+platform darwin 10 { | |
+ set build_arch i386 | |
+ set sdkrootpath /Developer/SDKs/MacOSX10.5.sdk | |
+ | |
+ configure.cflags-append -isysroot ${sdkrootpath} -arch i386 -mmacosx-version-min=10.5 | |
+ configure.env-append SHLIB_LDFLAGS='-Wl,-syslibroot,${sdkrootpath} -arch i386 -mmacosx-version-min=10.5' | |
+} | |
+ | |
variant no_x11 { | |
configure.args-append --without-x | |
depends_lib-delete \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment