diff --git a/emulators/BasiliskII/Makefile b/emulators/BasiliskII/Makefile index cc849549f76b..e2a66f6f64e2 100644 --- a/emulators/BasiliskII/Makefile +++ b/emulators/BasiliskII/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2023/11/14 14:01:45 wiz Exp $ +# $NetBSD: Makefile,v 1.56 2024/04/02 20:34:16 nia Exp $ DISTNAME= BasiliskII-20190405 PKGREVISION= 10 @@ -35,10 +35,7 @@ CONFIGURE_ARGS+= --without-esd .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "Darwin" -CONFIGURE_ARGS+= --enable-macosx-gui -CONFIGURE_ARGS+= --enable-macosx-sound -.else +.if ${OPSYS} != "Darwin" post-extract: ${RM} ${WRKSRC}/src/Unix/semaphore.h .endif diff --git a/emulators/BasiliskII/options.mk b/emulators/BasiliskII/options.mk index 9d07a5103183..5216523ced49 100644 --- a/emulators/BasiliskII/options.mk +++ b/emulators/BasiliskII/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.8 2020/01/20 21:14:49 nia Exp $ +# $NetBSD: options.mk,v 1.9 2024/04/02 20:34:16 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.BasiliskII PKG_SUPPORTED_OPTIONS= gtk2 sdl @@ -22,4 +22,7 @@ CONFIGURE_ARGS+= --without-gtk CONFIGURE_ARGS+= --enable-sdl-audio CONFIGURE_ARGS+= --enable-sdl-video .include "../../devel/SDL/buildlink3.mk" +.elif ${OPSYS} == "Darwin" +CONFIGURE_ARGS+= --enable-macosx-gui +CONFIGURE_ARGS+= --enable-macosx-sound .endif