Ignore:
Timestamp:
Mar 9, 2015, 2:24:40 AM (5 years ago)
Author:
khindenburg@…
Message:

rman: allow universal build and respect build architecture #45482; maintainer timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/rman/Portfile

    r87003 r133692  
    44name             rman
    55version          3.2
     6revision         1
    67categories       textproc
    78license          Artistic-1
     
    1617platforms        darwin
    1718master_sites     sourceforge:polyglotman
    18 checksums        md5 6d1d67641c6d042595a96a62340d3cc6
    19 patchfiles       patch-Makefile
     19checksums        rmd160  5ec8830466ec478e4470fbda8635d06b8cf967b7 \
     20                 sha256  68a130696b251966db10a4774e2bc8083a0147b83f64c11e9bb4cd654da32d5f
     21use_configure    no
     22build.args-append \
     23    CC=${configure.cc}
    2024
    21 configure {
    22     reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/Makefile
    23     reinplace "s|__DSTROOT|${destroot}${prefix}|g" ${worksrcpath}/Makefile
     25if {[variant_isset universal]} {
     26    build.args-append \
     27        CFLAGS="${configure.cflags} ${configure.universal_cflags}"
     28} else {
     29    build.args-append \
     30        CFLAGS="${configure.cflags} [get_canonical_archflags]"
    2431}
     32
     33destroot.args-append \
     34    BINDIR=${destroot}${prefix}/bin \
     35    MANDIR=${destroot}${prefix}/share/man/man1
Note: See TracChangeset for help on using the changeset viewer.