[52086] trunk/dports/graphics/aalib/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jun 9 13:47:50 PDT 2009


Revision: 52086
          http://trac.macports.org/changeset/52086
Author:   jeremyhu at macports.org
Date:     2009-06-09 13:47:49 -0700 (Tue, 09 Jun 2009)
Log Message:
-----------
aalib: Added missing dependency on ncurses.  Define NCURSES_OPAQUE=0 since we need access to the window struct

Modified Paths:
--------------
    trunk/dports/graphics/aalib/Portfile

Modified: trunk/dports/graphics/aalib/Portfile
===================================================================
--- trunk/dports/graphics/aalib/Portfile	2009-06-09 20:14:57 UTC (rev 52085)
+++ trunk/dports/graphics/aalib/Portfile	2009-06-09 20:47:49 UTC (rev 52086)
@@ -20,12 +20,13 @@
 platforms                   darwin
 
 worksrcdir                  ${name}-1.4.0
-configure.args              --with-x=no --with-ncurses \
+configure.args              --without-x --with-ncurses \
                             --enable-shared --disable-static \
                             --mandir=${prefix}/share/man \
                             --infodir=${prefix}/share/info
-configure.cppflags          "-I/usr/include/malloc"
 
+configure.cppflags-append  -DNCURSES_OPAQUE=0 -I/usr/include/malloc
+
 patchfiles                  doc/patch-Makefile.in.diff man/patch-Makefile.in.diff \
                             patch-aacurkbd.c.diff patch-aacurses.c.diff \
                             patch-config.guess.diff patch-config.sub.diff \
@@ -34,22 +35,25 @@
                             patch-Makefile.in.diff src/patch-Makefile.in.diff \
                             patch-aalib.m4.diff
 
+depends_build \
+	port:autoconf \
+	port:automake \
+	port:libtool
+
+depends_lib \
+	port:ncurses
+
 platform darwin 6 {
     patchfiles-append src/patch-malloc.h.diff
 }
 
 variant x11 {
-        depends_lib \
+        depends_lib-append  \
                 port:xorg-libX11
-        configure.args-delete   --with-x=no
+        configure.args-delete   --without-x
         configure.args-append   --with-x
 }
 
-depends_build \
-	port:autoconf \
-	port:automake \
-	port:libtool
-
 use_autoconf yes
 autoconf.cmd autoreconf
 autoconf.args -fvi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090609/ea9338cb/attachment.html>


More information about the macports-changes mailing list