Ticket #18192: Portfile.diff

File 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
    42 
    4343test.run        yes
    4444test.target     check
    4545
    46 pre-destroot {
     46post-destroot {
    4747    set docdir ${destroot}${prefix}/share/doc/${name}
    4848    file mkdir ${docdir}
    4949    xinstall -m 644 -v -W ${worksrcpath} \
    5050      AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir}
    5151}
    5252
    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 
    6153livecheck.url    http://www.mpfr.org/mpfr-current/
    6254livecheck.regex  "mpfr-(\\d+(?:\\.\\d+)*)${extract.suffix}"