git: 8470e0e56462 - main - emulators/advancemame: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Jul 18 19:18:10 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8470e0e564623e1d33785d454925f5ed72c36e81
commit 8470e0e564623e1d33785d454925f5ed72c36e81
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-07-18 19:03:46 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-07-18 19:03:46 +0000
emulators/advancemame: fix build on powerpc
Build with GCC, clang hangs.
---
emulators/advancemame/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/emulators/advancemame/Makefile b/emulators/advancemame/Makefile
index 49ac5b5dac34..c683364d1463 100644
--- a/emulators/advancemame/Makefile
+++ b/emulators/advancemame/Makefile
@@ -44,6 +44,12 @@ SLANG_LIB_DEPENDS= libslang.so:devel/libslang2
SLANG_CONFIGURE_ENABLE= slang
SLANG_LDFLAGS= -lncurses
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_GCC= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|-pthread| ; \
More information about the dev-commits-ports-all
mailing list