pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/qemu



Module Name:    pkgsrc
Committed By:   spz
Date:           Sun Dec 20 16:51:44 UTC 2020

Modified Files:
        pkgsrc/emulators/qemu: Makefile

Log Message:
qemu: don't require x11 when x11 is disabled


To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 pkgsrc/emulators/qemu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/qemu/Makefile
diff -u pkgsrc/emulators/qemu/Makefile:1.258 pkgsrc/emulators/qemu/Makefile:1.259
--- pkgsrc/emulators/qemu/Makefile:1.258        Tue Dec 15 16:50:08 2020
+++ pkgsrc/emulators/qemu/Makefile      Sun Dec 20 16:51:44 2020
@@ -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 @@ post-install:
 
 # 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