[84367] trunk/dports/lang/pike/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 23 15:40:28 PDT 2011


Revision: 84367
          http://trac.macports.org/changeset/84367
Author:   ryandesign at macports.org
Date:     2011-09-23 15:40:28 -0700 (Fri, 23 Sep 2011)
Log Message:
-----------
pike: set build.args and destroot.destdir at the correct times (which is not in the configure phase) so that running the phases independently works correctly. This also disables the universal variant, which can't have worked anyway.

Modified Paths:
--------------
    trunk/dports/lang/pike/Portfile

Modified: trunk/dports/lang/pike/Portfile
===================================================================
--- trunk/dports/lang/pike/Portfile	2011-09-23 22:38:05 UTC (rev 84366)
+++ trunk/dports/lang/pike/Portfile	2011-09-23 22:40:28 UTC (rev 84367)
@@ -102,23 +102,25 @@
     build.target-append doc
 }
 
+use_configure       no
+
 configure.args      --mandir=${prefix}/share/man \
                     --with-include-path=${prefix}/include \
                     --with-lib-path=${prefix}/lib \
                     --with-zlib
 
-configure {
+pre-build {
     # setup the build.args here, because then the configure.args from the
     # variants will have been assembled:
-    build.args CONFIGUREARGS="--prefix=${prefix} --without-bundles ${configure.args}" \
-        INSTALLARGS="--traditional"
-    destroot.destdir buildroot=${destroot} INSTALLARGS="--traditional"
+    build.args      CONFIGUREARGS="--prefix=${prefix} --without-bundles ${configure.args}" \
+                    INSTALLARGS="--traditional"
 }
 
 test.run            yes
 test.target         verify
 
 destroot.target     install_nodoc
+destroot.destdir    buildroot=${destroot} INSTALLARGS="--traditional"
 
 post-destroot {
     file delete -force ${destroot}${prefix}/bin/pike.syms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110923/47491f50/attachment.html>


More information about the macports-changes mailing list