Changeset 59473 for trunk


Ignore:
Timestamp:
Oct 15, 2009, 3:32:21 PM (11 years ago)
Author:
aschenke@…
Message:

require and link to MacPort's ncurses library

File:
1 edited

Legend:

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

    r59407 r59473  
    2424use_configure           no
    2525
     26depends_lib-append      port:ncurses
     27
    2628variant singleuser description {Disables system-wide scoreboards and allows local user installation without root privileges} {}
    2729
     
    3537                    reinplace "s|^CC = cc|CC = ${configure.cc}|" ${build.dir}/Makefile
    3638                   
    37                     reinplace "s|CFLAGS = -O|CFLAGS = -O -DNCURSES_OPAQUE=0|" ${build.dir}/Makefile
     39                    reinplace "s|CFLAGS = -O|CFLAGS = -O -I${prefix}/include -I${prefix}/include/ncurses|" ${build.dir}/Makefile
     40                    reinplace "s|LFLAGS =|LFLAGS = -L/opt/local/lib|" ${build.dir}/Makefile
     41                    reinplace "s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|" ${build.dir}/Makefile
    3842                   
    3943                    reinplace "s|/home/math/grabiner/moria/files|${prefix}/var/games/moria|" \
Note: See TracChangeset for help on using the changeset viewer.