[90606] trunk/dports/lang/mit-scheme/Portfile
Ryan Schmidt
ryandesign at macports.org
Fri Mar 9 13:59:38 PST 2012
On Mar 9, 2012, at 15:21, dports at macports.org wrote:
> Revision: 90606
> http://trac.macports.org/changeset/90606
> Author: dports at macports.org
> Date: 2012-03-09 13:21:00 -0800 (Fri, 09 Mar 2012)
> Log Message:
> -----------
> mit-scheme: fix hardcoded path to SDK directory to support Xcode 4.3
>
> Modified Paths:
> --------------
> trunk/dports/lang/mit-scheme/Portfile
>
> Modified: trunk/dports/lang/mit-scheme/Portfile
> ===================================================================
> --- trunk/dports/lang/mit-scheme/Portfile 2012-03-09 21:12:54 UTC (rev 90605)
> +++ trunk/dports/lang/mit-scheme/Portfile 2012-03-09 21:21:00 UTC (rev 90606)
> @@ -52,6 +52,13 @@
> ${worksrcpath}/src/swat/c/tk3.2-custom/Makefile \
> ${worksrcpath}/src/swat/c/tk3.2-custom/tcl/Makefile \
> ${worksrcpath}/src/swat/scheme/other/btest.scm
> +
> + if {[vercmp $xcodeversion 4.3] >= 0} {
> + set sdks_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs"
> + reinplace "s|MACOSX_SYSROOT=/Developer/SDKs/|MACOSX_SYSROOT=${sdks_dir}/|" \
> + ${worksrcpath}/src/configure \
> + ${worksrcpath}/src/microcode/configure
> + }
Even before Xcode 4.3, users could elect to install Xcode into directory different from /Developer, so hardcoding /Developer into the configure scripts seems wrong on any Xcode version.
More information about the macports-dev
mailing list