[45981] trunk/dports/devel/mpfr/Portfile

vinc17 at macports.org vinc17 at macports.org
Mon Jan 26 06:22:48 PST 2009


Revision: 45981
          http://trac.macports.org/changeset/45981
Author:   vinc17 at macports.org
Date:     2009-01-26 06:22:44 -0800 (Mon, 26 Jan 2009)
Log Message:
-----------
mpfr: added support for universal builds. Fixes #18192.

Modified Paths:
--------------
    trunk/dports/devel/mpfr/Portfile

Modified: trunk/dports/devel/mpfr/Portfile
===================================================================
--- trunk/dports/devel/mpfr/Portfile	2009-01-26 13:59:34 UTC (rev 45980)
+++ trunk/dports/devel/mpfr/Portfile	2009-01-26 14:22:44 UTC (rev 45981)
@@ -2,6 +2,11 @@
 
 PortSystem 1.0
 
+# Although mpfr builds without a custom universal variant,
+# it is not the same as builing the archs differently
+# due to the variable HAVE_LDOUBLE_IEEE_EXT_LITTLE.
+PortGroup  merge_universal 1.0
+
 name            mpfr
 version         2.3.2
 categories      devel math
@@ -27,9 +32,6 @@
 use_bzip2       yes
 use_parallel_build yes
 
-# gmp is not universal
-universal_variant   no
-
 depends_lib     port:gmp
 
 dist_subdir     ${name}/${version}
@@ -38,25 +40,15 @@
 #patchfiles      patch01 patch02 patch03 patch04
 #patch.args      -p1
 
-configure.args  --enable-shared
-
 test.run        yes
 test.target     check
 
-pre-destroot {
+post-destroot {
     set docdir ${destroot}${prefix}/share/doc/${name}
     file mkdir ${docdir}
     xinstall -m 644 -v -W ${worksrcpath} \
       AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir}
 }
 
-platform darwin x86 {
-    configure.args-append --host=none-apple-darwin
-}
-
-platform darwin i386 {
-    configure.args-append --host=none-apple-darwin
-}
-
 livecheck.url    http://www.mpfr.org/mpfr-current/
 livecheck.regex  "mpfr-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090126/da24d988/attachment-0001.html>


More information about the macports-changes mailing list