[139996] trunk/dports/lang/fpc/Portfile

takeshi at macports.org takeshi at macports.org
Sat Sep 5 13:53:20 PDT 2015


Revision: 139996
          https://trac.macports.org/changeset/139996
Author:   takeshi at macports.org
Date:     2015-09-05 13:53:20 -0700 (Sat, 05 Sep 2015)
Log Message:
-----------
fpc: use macosx_deployment_target variable instead of passing it as make's arg

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

Modified: trunk/dports/lang/fpc/Portfile
===================================================================
--- trunk/dports/lang/fpc/Portfile	2015-09-05 20:17:09 UTC (rev 139995)
+++ trunk/dports/lang/fpc/Portfile	2015-09-05 20:53:20 UTC (rev 139996)
@@ -39,9 +39,11 @@
 
 destroot.env        ${build.env}
 
-if {${os.major} > 13} {
-    build.args      MACOSX_DEPLOYMENT_TARGET='10.9'
-    destroot.args   ${build.args}
+# Yosemite fix: fpc's build system checkes MACOSX_DEPLOYMENT_TARGET and halts if > 10.9
+platform darwin {
+    if {${os.major} > 13} {
+        macosx_deployment_target    10.9
+    }
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150905/4db446a8/attachment.html>


More information about the macports-changes mailing list