Changeset 59482 for trunk


Ignore:
Timestamp:
Oct 15, 2009, 4:07:02 PM (11 years ago)
Author:
aschenke@…
Message:

require and link to MacPort's ncurses (#22079); change compiler to use configure.cc (#22080)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/larn/Portfile

    r59408 r59482  
    44name            larn
    55version     12
    6 revision    0
     6revision    1
    77categories      games
    88maintainers     aschenke
     
    1717checksums       md5 cea96f48caa057793f6bcaf3394ca388
    1818build.type      bsd
    19 build.args      LDADD+=-L${prefix}/lib\\ -lcurses\\
    20 build.env-append   CFLAGS=-DNCURSES_OPAQUE=0
     19build.args      CC=${configure.cc}
     20build.env   CFLAGS=-I${prefix}/include -I${prefix}/include/ncurses
     21
     22depends_lib-append      port:ncurses
    2123               
    2224worksrcdir      ${name}
     
    4244
    4345                        reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
     46                        reinplace "s|LDADD=     -ltermcap -lcompat|LDADD= -lncurses -L${prefix}/lib|" ${worksrcpath}/Makefile
     47                       
    4448                        reinplace "s|/usr/share/games|${prefix}/share|g" ${worksrcpath}/pathnames.h
    4549                        reinplace "s|/var/games|${prefix}/var/games|g" ${worksrcpath}/pathnames.h
Note: See TracChangeset for help on using the changeset viewer.