[89157] trunk/dports/devel/astyle/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 19 19:26:22 PST 2012


Revision: 89157
          http://trac.macports.org/changeset/89157
Author:   ryandesign at macports.org
Date:     2012-01-19 19:26:22 -0800 (Thu, 19 Jan 2012)
Log Message:
-----------
astyle: add universal variant; build for the right archs

Modified Paths:
--------------
    trunk/dports/devel/astyle/Portfile

Modified: trunk/dports/devel/astyle/Portfile
===================================================================
--- trunk/dports/devel/astyle/Portfile	2012-01-20 03:22:14 UTC (rev 89156)
+++ trunk/dports/devel/astyle/Portfile	2012-01-20 03:26:22 UTC (rev 89157)
@@ -25,12 +25,15 @@
 worksrcdir        ${name}/build/mac
 patchfiles        patch-Makefile.diff
 use_configure     no
-universal_variant no
+
+variant universal {}
+
 build.target      release
 build.env-append  PREFIX=${prefix}
-build.args-append CXX=${configure.cxx}
+build.args-append CXX="${configure.cxx} [get_canonical_archflags cxx]"
+
 destroot.args-append \
-                  CXX=${configure.cxx}
+                  CXX="${configure.cxx} [get_canonical_archflags cxx]"
 destroot.destdir  PREFIX=${prefix} DESTROOT=${destroot} DESTDIR=${destroot}${prefix}
 
 variant lib description {Build and install the libraries} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120119/40782141/attachment.html>


More information about the macports-changes mailing list