[92139] trunk/dports/devel/libcryptopp/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Apr 19 14:11:12 PDT 2012
Revision: 92139
https://trac.macports.org/changeset/92139
Author: ryandesign at macports.org
Date: 2012-04-19 14:11:11 -0700 (Thu, 19 Apr 2012)
Log Message:
-----------
libcryptopp: simplify universal variant using get_canonical_archflags
Modified Paths:
--------------
trunk/dports/devel/libcryptopp/Portfile
Modified: trunk/dports/devel/libcryptopp/Portfile
===================================================================
--- trunk/dports/devel/libcryptopp/Portfile 2012-04-19 20:34:53 UTC (rev 92138)
+++ trunk/dports/devel/libcryptopp/Portfile 2012-04-19 21:11:11 UTC (rev 92139)
@@ -30,8 +30,10 @@
use_configure no
+variant universal {}
+
build.type gnu
-build.env-append CXXFLAGS="${configure.cxx_archflags}"
+build.env-append CXXFLAGS="[get_canonical_archflags cxx]"
build.args-append CXX=${configure.cxx}
test.run yes
@@ -48,10 +50,5 @@
${destroot}${prefix}/share/doc/${name}/
}
-variant universal {
- build.env-delete CXXFLAGS="${configure.cxx_archflags}"
- build.env-append CXXFLAGS="${configure.universal_cxxflags}"
-}
-
livecheck.type regex
livecheck.regex "Crypto\\+\\+ (\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120419/8ca709ab/attachment-0001.html>
More information about the macports-changes
mailing list