emulators/BasiliskII: fix build with LLVM 11 libc++

Remove local semaphore.h to keep it from accidentally being picked up
by libc++ headers in place of the system <semaphore.h>.  We don't need
to emulate POSIX semaphores, we have the real thing in libc.
This commit is contained in:
naddy 2021-03-16 18:52:20 +00:00
parent fbe4b4bd37
commit 1dce83b538

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.44 2020/03/25 14:03:14 kmos Exp $
# $OpenBSD: Makefile,v 1.45 2021/03/16 18:52:20 naddy Exp $
BROKEN-sparc64= Fails to compile in obj/sigsegv.o
@ -6,7 +6,7 @@ COMMENT= open source 68k Macintosh emulator
DISTNAME= BasiliskII_src_01052006
PKGNAME= BasiliskII-1.0
REVISION= 10
REVISION= 11
CATEGORIES= emulators
HOMEPAGE= http://basilisk.cebix.net/
@ -45,6 +45,10 @@ CFLAGS += -fgnu89-inline
NO_TEST= Yes
# prevent confusion with system <semaphore.h>
post-patch:
rm ${WRKSRC}/semaphore.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BasiliskII
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/BasiliskII