[86157] trunk/dports/devel/byaccj/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Oct 19 23:26:41 PDT 2011


Revision: 86157
          http://trac.macports.org/changeset/86157
Author:   ryandesign at macports.org
Date:     2011-10-19 23:26:41 -0700 (Wed, 19 Oct 2011)
Log Message:
-----------
byaccj: ensure we're using the right arch flags; add universal variant; see #31605

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

Modified: trunk/dports/devel/byaccj/Portfile
===================================================================
--- trunk/dports/devel/byaccj/Portfile	2011-10-20 06:24:28 UTC (rev 86156)
+++ trunk/dports/devel/byaccj/Portfile	2011-10-20 06:26:41 UTC (rev 86157)
@@ -22,8 +22,12 @@
 
 use_configure	no
 
+variant universal {}
+
 worksrcdir	byaccj${version}/src
-build.args	CFLAGS="${configure.cflags}" CC="${configure.cc}" LDFLAGS="${configure.ldflags}"
+build.args	CC="${configure.cc} [get_canonical_archflags]" \
+		CFLAGS="${configure.cflags}" \
+		LDFLAGS="${configure.ldflags}"
 
 destroot	{
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111019/e8658860/attachment.html>


More information about the macports-changes mailing list