Modified: trunk/dports/lang/dmd/Portfile (124823 => 124824)
--- 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