summaryrefslogtreecommitdiff
path: root/emulators/qemu/Makefile
diff options
context:
space:
mode:
authorreinoud <reinoud@pkgsrc.org>2021-03-14 11:16:45 +0000
committerreinoud <reinoud@pkgsrc.org>2021-03-14 11:16:45 +0000
commit66db61b78bcdaa7c6d94ae445591495efb5fa1a0 (patch)
tree8edfe849fb6980001b6f2daac39a8d39987a9d6f /emulators/qemu/Makefile
parentc9bd650f722521de873e6914dffbdf953eb4d9dd (diff)
downloadpkgsrc-66db61b78bcdaa7c6d94ae445591495efb5fa1a0.tar.gz
Fix build on NetBSD machines that don't have NVMM capabilities. The logic
would select the nvmm library when it wasn't disabled that later was not found. While here, also fix a curses issue introduced in version 5.2.0nb2; it would not find the appropriate library.
Diffstat (limited to 'emulators/qemu/Makefile')
-rw-r--r--emulators/qemu/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 4142c1eff19..030cf26c271 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.266 2021/03/06 21:50:34 leot Exp $
+# $NetBSD: Makefile,v 1.267 2021/03/14 11:16:45 reinoud Exp $
DISTNAME= qemu-5.2.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= emulators
MASTER_SITES= https://download.qemu.org/
EXTRACT_SUFX= .tar.xz
@@ -16,6 +16,7 @@ BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
USE_CURSES= resize_term wide
USE_LANGUAGES+= c c++
USE_TOOLS+= bison flex gmake makeinfo perl:build pod2man pkg-config
+FAKE_NCURSES= yes
UNLIMIT_RESOURCES= datasize
HAS_CONFIGURE= yes
@@ -173,6 +174,7 @@ post-install:
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/jemalloc/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
.include "../../devel/snappy/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
@@ -182,7 +184,6 @@ post-install:
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/pixman/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"