On Oct 15, 2009, at 10:32, [email protected] wrote:

Revision: 59473
         http://trac.macports.org/changeset/59473
Author:   [email protected]
Date:     2009-10-15 08:32:21 -0700 (Thu, 15 Oct 2009)
Log Message:
-----------
require and link to MacPort's ncurses library


- reinplace "s|CFLAGS = -O|CFLAGS = -O - DNCURSES_OPAQUE=0|" ${build.dir}/Makefile + reinplace "s|CFLAGS = -O|CFLAGS = -O -I$ {prefix}/include -I${prefix}/include/ncurses|" ${build.dir}/Makefile + reinplace "s|LFLAGS =|LFLAGS = -L/opt/local/ lib|" ${build.dir}/Makefile + reinplace "s|CURSES = -lcurses -ltermcap|CURSES = -lncurses|" ${build.dir}/Makefile

You must not hardcode "/opt/local" in portfiles; please use "$ {prefix}" instead.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to