[153985] trunk/dports/gis/routino/Portfile

khindenburg at macports.org khindenburg at macports.org
Mon Oct 17 15:41:37 CEST 2016


Revision: 153985
          https://trac.macports.org/changeset/153985
Author:   khindenburg at macports.org
Date:     2016-10-17 06:41:37 -0700 (Mon, 17 Oct 2016)
Log Message:
-----------
routino: use correct compiler

Modified Paths:
--------------
    trunk/dports/gis/routino/Portfile

Modified: trunk/dports/gis/routino/Portfile
===================================================================
--- trunk/dports/gis/routino/Portfile	2016-10-17 11:01:56 UTC (rev 153984)
+++ trunk/dports/gis/routino/Portfile	2016-10-17 13:41:37 UTC (rev 153985)
@@ -40,15 +40,8 @@
 }
 
 variant universal {}
-if {[variant_isset universal]} {
-    configure.cflags-append ${configure.universal_cflags}
-    configure.ldflags-append ${configure.universal_ldflags}
-} else {
-    configure.cflags-append ${configure.cc_archflags}
-    configure.ldflags-append ${configure.ld_archflags}
-}
 
 build.args-append   CC=${configure.cc} \
                     LD=${configure.cc} \
-                    CFLAGS="[join ${configure.cflags}]" \
-                    LDFLAGS="[join ${configure.ldflags}]" \
+                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161017/5dacafda/attachment-0002.html>


More information about the macports-changes mailing list