Skip to content

Commit

Permalink
BasiliskII: Allow building without the macosx interface on older rele…
Browse files Browse the repository at this point in the history
…ases
  • Loading branch information
alarixnia committed Apr 2, 2024
1 parent f9dde1e commit 40c0a97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 2 additions & 5 deletions emulators/BasiliskII/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion emulators/BasiliskII/options.mk
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 40c0a97

Please sign in to comment.