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

mcalhoun at macports.org mcalhoun at macports.org
Sat Apr 30 08:13:12 PDT 2016


Revision: 148214
          https://trac.macports.org/changeset/148214
Author:   mcalhoun at macports.org
Date:     2016-04-30 08:13:12 -0700 (Sat, 30 Apr 2016)
Log Message:
-----------
dmd: prevent download and installation of software to /tmp

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

Modified: trunk/dports/lang/dmd/Portfile
===================================================================
--- trunk/dports/lang/dmd/Portfile	2016-04-30 15:07:17 UTC (rev 148213)
+++ trunk/dports/lang/dmd/Portfile	2016-04-30 15:13:12 UTC (rev 148214)
@@ -29,6 +29,10 @@
 
 variant universal {}
 
+depends_build-append          port:dmd-bootstrap
+depends_skip_archcheck-append dmd-bootstrap
+
+
 build.dir           ${worksrcpath}/src
 
 # Use CFLAGS in the posix.make; some source needs special flags.
@@ -40,7 +44,7 @@
                     LDFLAGS="${configure.ldflags} -framework CoreServices" \
                     MODEL_FLAG="[get_canonical_archflags]" \
                     ENVP="MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}" \
-                    AUTO_BOOTSTRAP=1
+                    HOST_DMD=${prefix}/libexec/dmd-bootstrap/bin/dmd
 
 destroot {
 # man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160430/8dcb0fd1/attachment.html>


More information about the macports-changes mailing list