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

raimue at macports.org raimue at macports.org
Sat Apr 17 17:25:24 PDT 2010


Revision: 66596
          http://trac.macports.org/changeset/66596
Author:   raimue at macports.org
Date:     2010-04-17 17:25:23 -0700 (Sat, 17 Apr 2010)
Log Message:
-----------
editors/MacVim: Run autoconf only when required

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

Modified: trunk/dports/editors/MacVim/Portfile
===================================================================
--- trunk/dports/editors/MacVim/Portfile	2010-04-18 00:23:37 UTC (rev 66595)
+++ trunk/dports/editors/MacVim/Portfile	2010-04-18 00:25:23 UTC (rev 66596)
@@ -30,10 +30,7 @@
                     port:libiconv \
                     port:ctags
 
-# Leave this in for variants adding a patch targeting configure.in
-pre-configure {
-    system "cd ${worksrcpath}/src && autoconf"
-}
+autoconf.dir ${worksrcpath}/src
 
 configure.args      --enable-gui=macvim \
                     --without-x \
@@ -81,11 +78,15 @@
     configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.5
     patchfiles-append       patch-python.diff
     depends_lib-append      port:python25
+
+    use_autoconf yes
 }
 variant python26 conflicts python25 description {Enable Python scripting} {
     configure.args-append   --enable-pythoninterp --with-python=${prefix}/bin/python2.6
     patchfiles-append       patch-python.diff
     depends_lib-append      port:python26
+
+    use_autoconf yes
 }
 variant ruby description {Enable Ruby scripting} {
     configure.args-append   --enable-rubyinterp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100417/edfedd81/attachment.html>


More information about the macports-changes mailing list