[111066] trunk/dports/devel/nettle/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Sep 13 22:43:17 PDT 2013
Revision: 111066
https://trac.macports.org/changeset/111066
Author: jeremyhu at macports.org
Date: 2013-09-13 22:43:17 -0700 (Fri, 13 Sep 2013)
Log Message:
-----------
nettle: Build using hand rolled asm
Modified Paths:
--------------
trunk/dports/devel/nettle/Portfile
Modified: trunk/dports/devel/nettle/Portfile
===================================================================
--- trunk/dports/devel/nettle/Portfile 2013-09-14 05:35:20 UTC (rev 111065)
+++ trunk/dports/devel/nettle/Portfile 2013-09-14 05:43:17 UTC (rev 111066)
@@ -2,9 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup muniversal 1.0
name nettle
version 2.6
+revision 1
categories devel crypto
platforms darwin
maintainers gmx.de:exodusd uni-paderborn.de:nicke openmaintainer
@@ -39,6 +41,19 @@
configure.args --enable-shared
-if {"x86_64" == ${configure.build_arch}} {
- configure.args-append --disable-assembler
+if {[variant_isset universal]} {
+ set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
+ set merger_host(i386) i686-apple-${os.platform}${os.major}
+ set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
+ set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major}
+} else {
+ if {${build_arch} == "i386"} {
+ configure.args-append \
+ --host=i686-apple-${os.platform}${os.major} \
+ --build=i686-apple-${os.platform}${os.major}
+ } elseif {${build_arch} == "x86_64"} {
+ configure.args-append \
+ --host=${build_arch}-apple-${os.platform}${os.major} \
+ --build=${build_arch}-apple-${os.platform}${os.major}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130913/3ce0ff00/attachment.html>
More information about the macports-changes
mailing list