aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-18 19:03:46 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-07-18 19:03:46 +0000
commit8470e0e564623e1d33785d454925f5ed72c36e81 (patch)
tree0531ae17385cd0469bc59740bda4a18e1e23b8b3
parent4eb168e0e81e25e39611231ee2a4aafa828e1055 (diff)
downloadports-8470e0e564623e1d33785d454925f5ed72c36e81.tar.gz
ports-8470e0e564623e1d33785d454925f5ed72c36e81.zip
emulators/advancemame: fix build on powerpc
Build with GCC, clang hangs.
-rw-r--r--emulators/advancemame/Makefile6
1 files changed, 6 insertions, 0 deletions
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| ; \