Ignore:
Timestamp:
Jul 1, 2007, 2:43:11 AM (12 years ago)
Author:
takanori@…
Message:

make +universal work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/FDclone/Portfile

    r24766 r26622  
    44name            FDclone
    55version         2.09d
     6revision        1
    67categories      sysutils shells
    78maintainers     takanori@macports.org
     
    2829                }
    2930                reinplace "s|\$(PREFIX)/man|\$(DATATOP)/man|g" ${worksrcpath}/Makefile.in
     31                reinplace "s|\$(CC) __MEM__|\$(CC) \$(CFLAGS) __MEM__|g" ${worksrcpath}/Makefile.in
    3032}
    3133
     
    4547}
    4648
    47 build.args      CONFDIR=${prefix}/etc PREFIX=${prefix} CPPFLAGS="-I${prefix}/include/ncurses" LDFLAGS="-L${prefix}/lib -lncurses"
     49build.args      CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} -lncurses"
    4850
    4951destroot.args   BUILD=${destroot} PREFIX=${prefix}
     
    5658}
    5759
     60variant universal {
     61        build.args      CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags} ${configure.universal_cflags}" CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses" LDFLAGS="${configure.ldflags} ${configure.universal_ldflags} -lncurses"
     62}
    5863variant nojpnmes {}
    5964variant emacs conflicts vim {set editor emacs}
Note: See TracChangeset for help on using the changeset viewer.