pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/xroar



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  9 21:48:44 UTC 2023

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

Log Message:
xroar: Fix PKG_OPTIONS. Assumes compiler defaults to c99.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/emulators/xroar/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/emulators/xroar/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/xroar/Makefile
diff -u pkgsrc/emulators/xroar/Makefile:1.12 pkgsrc/emulators/xroar/Makefile:1.13
--- pkgsrc/emulators/xroar/Makefile:1.12        Sat May  6 19:09:16 2023
+++ pkgsrc/emulators/xroar/Makefile     Sun Jul  9 21:48:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/05/06 19:09:16 ryoon Exp $
+# $NetBSD: Makefile,v 1.13 2023/07/09 21:48:44 nia Exp $
 
 DISTNAME=      xroar-1.0.2
 PKGREVISION=   6
@@ -10,12 +10,13 @@ HOMEPAGE=   https://www.6809.org.uk/xroar/
 COMMENT=       MC6809-based Dragon and Colour Computer (CoCo) emulator
 LICENSE=       gnu-gpl-v3
 
-.include "../../mk/bsd.prefs.mk"
-.include "options.mk"
+# error: 'for' loop initial declarations are only allowed in C99 mode
+USE_LANGUAGES= c99
 
 GNU_CONFIGURE= yes
 INFO_FILES=    yes
 
+.include "options.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"

Index: pkgsrc/emulators/xroar/options.mk
diff -u pkgsrc/emulators/xroar/options.mk:1.1 pkgsrc/emulators/xroar/options.mk:1.2
--- pkgsrc/emulators/xroar/options.mk:1.1       Fri Oct  2 10:25:03 2020
+++ pkgsrc/emulators/xroar/options.mk   Sun Jul  9 21:48:44 2023
@@ -1,14 +1,16 @@
-# $NetBSD: options.mk,v 1.1 2020/10/02 10:25:03 ryoon Exp $
+# $NetBSD: options.mk,v 1.2 2023/07/09 21:48:44 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.xroar
 
-PKG_SUPPORTED_OPTIONS+=                alsa oss pulseaudio
-PKG_OPTIONS_REQUIRED_GROUPS=   audio
-PKG_OPTIONS_GROUP.audio=       alsa oss pulseaudio
+PKG_SUPPORTED_OPTIONS+=        alsa oss pulseaudio
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+.include "../../mk/oss.buildlink3.mk"
 
 .if ${OPSYS} == "Linux"
 PKG_SUGGESTED_OPTIONS+=        alsa
-.else
+.elif ${OSS_TYPE} != "none"
 PKG_SUGGESTED_OPTIONS+=        oss
 .endif
 



Home | Main Index | Thread Index | Old Index