tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re-adding curses support to qemu



Hi

Some time ago I used qemu in a terminal, through the -curses option. It
is unavaiable now. The modification below restores it. Is it safe to
commit it?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/qemu/Makefile,v
retrieving revision 1.101
diff -U4 -r1.101 Makefile
--- Makefile    3 Oct 2012 21:56:01 -0000       1.101
+++ Makefile    16 Mar 2013 09:28:26 -0000
@@ -14,8 +14,9 @@
 CONFLICTS+=            qemu-bin-[0-9]*
 NOT_FOR_PLATFORM=      NetBSD-1.[0-6]*-*
 
 USE_TOOLS+=            gmake makeinfo perl:build pkg-config
+USE_NCURSES=            yes
 UNLIMIT_RESOURCES=     datasize
 HAS_CONFIGURE=         yes
 
 BUILD_DEPENDS+=
texi2html-[0-9]*:../../textproc/texi2html
@@ -29,8 +30,9 @@
 CONFIGURE_ARGS+=       --interp-prefix=${PREFIX}/share/qemu
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --python=${PYTHONBIN}
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+=       --enable-curses
 
 CONF_FILES=            ${EGDIR}/target-x86_64.conf \
                        ${PKG_SYSCONFDIR}/target-x86_64.conf
 CONF_FILES+=           ${EGDIR}//cpus-x86_64.conf \
@@ -124,7 +126,7 @@
 .endif
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/python/extension.mk"
-.include "../../mk/curses.buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index