[92983] trunk/dports/lang/chapel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat May 12 10:34:27 PDT 2012
Revision: 92983
https://trac.macports.org/changeset/92983
Author: ryandesign at macports.org
Date: 2012-05-12 10:34:25 -0700 (Sat, 12 May 2012)
Log Message:
-----------
chapel: simplify getting -arch flags; rewrite master_sites to avoid redirects
Modified Paths:
--------------
trunk/dports/lang/chapel/Portfile
Modified: trunk/dports/lang/chapel/Portfile
===================================================================
--- trunk/dports/lang/chapel/Portfile 2012-05-12 16:50:57 UTC (rev 92982)
+++ trunk/dports/lang/chapel/Portfile 2012-05-12 17:34:25 UTC (rev 92983)
@@ -17,7 +17,7 @@
High Productivity Computing Systems program (HPCS).
license BSD
homepage http://chapel.cray.com/
-master_sites sourceforge
+master_sites sourceforge:project/chapel/chapel/${version}
checksums md5 38368f62afb2cad0327af26eabe06866 \
sha1 26d2a56ba80ae4db0abeeddffc132fc61439a649 \
@@ -34,19 +34,16 @@
}
configure.optflags -O3
-if {[variant_isset universal]} {
- set archflags "${configure.universal_ldflags}"
-} else {
- set archflags "${configure.cc_archflags}"
-}
+variant universal {}
+
build.env CHPL_HOST_COMPILER=gnu \
CHPL_TARGET_COMPILER=gnu \
- LDFLAGS="${archflags}"
+ LDFLAGS="[get_canonical_archflags ld]"
build.args CXX=${configure.cxx} \
CC=${configure.cc} \
- OPT_CFLAGS="${configure.optflags} ${archflags}"
+ OPT_CFLAGS="${configure.optflags} [get_canonical_archflags cc]"
destroot {
xinstall -m 755 ${worksrcpath}/bin/darwin/chpl ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120512/18297fd9/attachment.html>
More information about the macports-changes
mailing list