[124824] trunk/dports/lang/dmd/Portfile

takeshi at macports.org takeshi at macports.org
Thu Aug 28 06:47:24 PDT 2014


Revision: 124824
          https://trac.macports.org/changeset/124824
Author:   takeshi at macports.org
Date:     2014-08-28 06:47:24 -0700 (Thu, 28 Aug 2014)
Log Message:
-----------
dmd: set MODEL_FLAG to avoid wrong architecture selection, closing #44800

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

Modified: trunk/dports/lang/dmd/Portfile
===================================================================
--- trunk/dports/lang/dmd/Portfile	2014-08-28 13:03:14 UTC (rev 124823)
+++ trunk/dports/lang/dmd/Portfile	2014-08-28 13:47:24 UTC (rev 124824)
@@ -27,6 +27,8 @@
 
 use_configure       no
 
+variant universal {}
+
 build.dir           ${worksrcpath}/src
 
 # Use CFLAGS in the posix.make; some source needs special flags.
@@ -34,10 +36,10 @@
 # extra flags cannot be added with +=.
 # Another solution would be the use of override directive in posix.mak.
 build.args          -f posix.mak \
-                    HOST_CC=${configure.cxx} \
-                    CC=\"${configure.cxx}\" \
-                    LDFLAGS=\"${configure.ldflags} -framework CoreServices\" \
-                    ENVP=\"MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}\"
+                    HOST_CC="${configure.cxx}" \
+                    LDFLAGS="${configure.ldflags} -framework CoreServices" \
+                    MODEL_FLAG="[get_canonical_archflags]" \
+                    ENVP="MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}"
 
 destroot {
 # man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140828/90db5c5e/attachment-0001.html>


More information about the macports-changes mailing list