pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/qemu qemu: don't require x11 when x11 is dis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f41d6cc6507
branches:  trunk
changeset: 443752:0f41d6cc6507
user:      spz <spz%pkgsrc.org@localhost>
date:      Sun Dec 20 16:51:44 2020 +0000

description:
qemu: don't require x11 when x11 is disabled

diffstat:

 emulators/qemu/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 68dacc8f870c -r 0f41d6cc6507 emulators/qemu/Makefile
--- a/emulators/qemu/Makefile   Sun Dec 20 16:44:23 2020 +0000
+++ b/emulators/qemu/Makefile   Sun Dec 20 16:51:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.258 2020/12/15 16:50:08 maya Exp $
+# $NetBSD: Makefile,v 1.259 2020/12/20 16:51:44 spz Exp $
 
 DISTNAME=      qemu-5.1.0
 PKGREVISION=   11
@@ -161,8 +161,12 @@
 
 # On Darwin, qemu uses Cocoa and CoreAudio
 .if ${OPSYS} != "Darwin"
+.if !empty(PKG_OPTIONS:Mx11)
 PLIST.keymap=  yes
 .include "../../x11/libxkbcommon/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=                --disable-xkbcommon
+.endif
 .include "../../mk/oss.buildlink3.mk"
 .endif
 .include "../../archivers/lzo/buildlink3.mk"



Home | Main Index | Thread Index | Old Index