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:   jakllsch
Date:           Sun Sep 27 21:27:27 UTC 2020

Modified Files:
        pkgsrc/emulators/qemu: Makefile options.mk

Log Message:
Add debug-info option to qemu; default it off

qemu defaults to building with -g, but it's usually just a waste of
time and space in a pkgsrc environment without INSTALL_UNSTRIPPED
enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.250 -r1.251 pkgsrc/emulators/qemu/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/emulators/qemu/options.mk

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.250 pkgsrc/emulators/qemu/Makefile:1.251
--- pkgsrc/emulators/qemu/Makefile:1.250        Mon Aug 31 18:09:28 2020
+++ pkgsrc/emulators/qemu/Makefile      Sun Sep 27 21:27:27 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.250 2020/08/31 18:09:28 wiz Exp $
+# $NetBSD: Makefile,v 1.251 2020/09/27 21:27:27 jakllsch Exp $
 
 DISTNAME=      qemu-5.1.0
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    emulators
 MASTER_SITES=  https://download.qemu.org/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/emulators/qemu/options.mk
diff -u pkgsrc/emulators/qemu/options.mk:1.11 pkgsrc/emulators/qemu/options.mk:1.12
--- pkgsrc/emulators/qemu/options.mk:1.11       Mon Jun 22 12:13:20 2020
+++ pkgsrc/emulators/qemu/options.mk    Sun Sep 27 21:27:27 2020
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.11 2020/06/22 12:13:20 nia Exp $
+# $NetBSD: options.mk,v 1.12 2020/09/27 21:27:27 jakllsch Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.qemu
-PKG_SUPPORTED_OPTIONS= gtk3 iscsi sdl spice
+PKG_SUPPORTED_OPTIONS= debug-info gtk3 iscsi sdl spice
 PKG_SUGGESTED_OPTIONS+=        iscsi
 
 .include "../../mk/bsd.fast.prefs.mk"
@@ -26,6 +26,12 @@ PKG_SUGGESTED_OPTIONS+=      sdl
 
 PLIST_VARS+=           gtk virtfs-proxy-helper
 
+.if !empty(PKG_OPTIONS:Mdebug-info)
+CONFIGURE_ARGS+=       --enable-debug-info
+.else
+CONFIGURE_ARGS+=       --disable-debug-info
+.endif
+
 .if !empty(PKG_OPTIONS:Mgtk3)
 PLIST.gtk=             yes
 CONFIGURE_ARGS+=       --enable-gtk



Home | Main Index | Thread Index | Old Index