[108804] trunk/dports/www/serf1/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Aug 1 21:30:24 PDT 2013


Revision: 108804
          https://trac.macports.org/changeset/108804
Author:   ryandesign at macports.org
Date:     2013-08-01 21:30:24 -0700 (Thu, 01 Aug 2013)
Log Message:
-----------
serf1: re-enable universal variant and once again ensure we're UsingTheRightCompiler (#39918)

Modified Paths:
--------------
    trunk/dports/www/serf1/Portfile

Modified: trunk/dports/www/serf1/Portfile
===================================================================
--- trunk/dports/www/serf1/Portfile	2013-08-02 04:18:48 UTC (rev 108803)
+++ trunk/dports/www/serf1/Portfile	2013-08-02 04:30:24 UTC (rev 108804)
@@ -32,21 +32,20 @@
 
 use_configure   no
 
-build.env       ARCHFLAGS="[get_canonical_archflags]" \
-                CPPFLAGS="${configure.cppflags}" \
-                LDFLAGS="${configure.ldflags}"
+variant universal {}
 
 build.cmd       ${prefix}/bin/scons
+
+build.args      CC=${configure.cc} \
+                CPPFLAGS=[join "${configure.cppflags}" ,] \
+                CFLAGS=[join "${configure.cflags},[get_canonical_archflags cc]" ,] \
+                LINKFLAGS=[join "${configure.ldflags},[get_canonical_archflags ld]" ,]
+
 build.target    APR=${prefix} \
                 APU=${prefix} \
                 OPENSSL=${prefix} \
                 PREFIX=${prefix}
-# TODO: this would be nice to have
-build.args
-#build.args      --cc=${configure.cc} \
-#                --cxx=${configure.cxx}
 
-eval destroot.env   [option build.env]
 destroot.cmd        ${build.cmd}
 destroot.args       --install-sandbox=${destroot}
 destroot.destdir    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130801/49b5cbbe/attachment-0001.html>


More information about the macports-changes mailing list