Ticket #18154: mpfr-Portfile.diff

File mpfr-Portfile.diff, 1.2 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago)
  • Portfile

    old new  
    22
    33PortSystem 1.0
    44
     5# Although mpfr builds without a custom universal variant,
     6#    it is not the same as builing the archs differently
     7#    due to the variable HAVE_LDOUBLE_IEEE_EXT_LITTLE.
     8PortGroup  merge_universal 1.0
     9
    510name            mpfr
    611version         2.3.2
    712categories      devel math
     
    2732use_bzip2       yes
    2833use_parallel_build yes
    2934
    30 # gmp is not universal
    31 universal_variant   no
    32 
    3335depends_lib     port:gmp
    3436
    3537dist_subdir     ${name}/${version}
     
    3840#patchfiles      patch01 patch02 patch03 patch04
    3941#patch.args      -p1
    4042
    41 configure.args  --enable-shared
     43#configure.args  --enable-shared
    4244
    4345test.run        yes
    4446test.target     check
    4547
    46 pre-destroot {
     48post-destroot {
    4749    set docdir ${destroot}${prefix}/share/doc/${name}
    4850    file mkdir ${docdir}
    4951    xinstall -m 644 -v -W ${worksrcpath} \
    5052      AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir}
    5153}
    5254
    53 platform darwin x86 {
    54     configure.args-append --host=none-apple-darwin
    55 }
    56 
    57 platform darwin i386 {
    58     configure.args-append --host=none-apple-darwin
    59 }
    60 
    6155livecheck.check none