[102576] trunk/dports/lang/llvm-gcc42/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Feb 4 14:58:48 PST 2013


Revision: 102576
          https://trac.macports.org/changeset/102576
Author:   jeremyhu at macports.org
Date:     2013-02-04 14:58:48 -0800 (Mon, 04 Feb 2013)
Log Message:
-----------
llvm-gcc42: DEVELOPER_DIR has special meaning, so use something else

Modified Paths:
--------------
    trunk/dports/lang/llvm-gcc42/Portfile

Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile	2013-02-04 22:48:55 UTC (rev 102575)
+++ trunk/dports/lang/llvm-gcc42/Portfile	2013-02-04 22:58:48 UTC (rev 102576)
@@ -75,6 +75,11 @@
     reinplace "/bug_report_url/s|http:.*>|https://trac.macports.org/newticket>|" \
         ${worksrcpath}/gcc/version.c
 
+    # Don't use the DEVELOPER_DIR variable
+    reinplace "s/DEVELOPER_DIR/MP_DEVELOPER_DIR/g" \
+        ${worksrcpath}/GNUmakefile \
+        ${worksrcpath}/llvmCore/utils/buildit/build_llvm
+
     if {${build_arch} == "ppc"} {
         reinplace "/^PPC_SYSROOT=/ s:=.*$:=/:" ${worksrcpath}/build_gcc
     } elseif {[file exists ${developer_dir}/SDKs/MacOSX10.5.sdk]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130204/a368d4ba/attachment.html>


More information about the macports-changes mailing list