[59472] trunk/dports/games/rogue/Portfile

aschenke at macports.org aschenke at macports.org
Thu Oct 15 08:30:03 PDT 2009


Revision: 59472
          http://trac.macports.org/changeset/59472
Author:   aschenke at macports.org
Date:     2009-10-15 08:30:00 -0700 (Thu, 15 Oct 2009)
Log Message:
-----------
require and link to MacPort's ncurses library

Modified Paths:
--------------
    trunk/dports/games/rogue/Portfile

Modified: trunk/dports/games/rogue/Portfile
===================================================================
--- trunk/dports/games/rogue/Portfile	2009-10-15 15:02:16 UTC (rev 59471)
+++ trunk/dports/games/rogue/Portfile	2009-10-15 15:30:00 UTC (rev 59472)
@@ -25,7 +25,11 @@
 
 worksrcdir		 ${name}${version}
 
-configure.cflags-append "-DNCURSES_OPAQUE=0"
+depends_lib-append      	port:ncurses
+configure.cflags-append  	-I${prefix}/include/ncurses
+configure.cppflags-append 	-I${prefix}/include/ncurses
+build.env-append 			LDFLAGS=-L${prefix}/lib
+configure.args-append 		--with-ncurses
 
 variant singleuser description {Disables system-wide scoreboards and allows local user installation without root privileges} {}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091015/cc349b04/attachment.html>


More information about the macports-changes mailing list