Created
August 17, 2009 13:51
-
-
Save sixones/169127 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
edit /opt/local/var/macports/sources/rsync.macports.org/releases/ports/devel/libsdl/Portfile | |
after line 40 paste: | |
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 LDGLAGS='-W1,-syslibroot,${sdkrootpath} -arch i386 -mmacosx-version-min=10.5' | |
} | |
end result (line 38-54): | |
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 LDGLAGS='-W1,-syslibroot,${sdkrootpath} -arch i386 -mmacosx-version-min=10.5' | |
} | |
variant no_x11 { | |
configure.args-append --without-x | |
depends_lib-delete \ | |
port:xorg-libXext \ | |
port:xorg-libXrandr \ | |
port:xrender | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment