[72421] trunk/dports/editors/MacVim/Portfile

raimue at macports.org raimue at macports.org
Thu Oct 14 02:56:20 PDT 2010


Revision: 72421
          http://trac.macports.org/changeset/72421
Author:   raimue at macports.org
Date:     2010-10-14 02:56:15 -0700 (Thu, 14 Oct 2010)
Log Message:
-----------
editors/MacVim: Use local cache directory, fixes #26723

Modified Paths:
--------------
    trunk/dports/editors/MacVim/Portfile

Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile	2010-10-14 09:30:56 UTC (rev 72420)
+++ trunk/dports/editors/MacVim/Portfile	2010-10-14 09:56:15 UTC (rev 72421)
@@ -37,9 +37,12 @@
     }
 }
 
-# github zipball has root folder including commitish, renaming for ease of use
 post-extract {
+    # github zipball has root folder including commitish, renaming for ease of use
     file rename [glob ${workpath}/b4winckler-*] ${worksrcpath}
+
+    # create cache directory
+    file mkdir ${workpath}/caches
 }
 
 post-patch {
@@ -56,6 +59,9 @@
                     --with-tlib=ncurses \
                     --enable-multibyte
 
+# Old pre-compiled headers could influence build, #26723
+build.args          XCODEFLAGS="CACHE_ROOT=${workpath}/caches"
+
 destroot {
     copy ${worksrcpath}/src/MacVim/build/Release/MacVim.app ${destroot}${applications_dir}
     copy ${worksrcpath}/src/MacVim/mvim ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101014/7add2f0a/attachment.html>


More information about the macports-changes mailing list