diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-07-18 19:03:46 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-07-18 19:03:46 +0000 |
commit | 8470e0e564623e1d33785d454925f5ed72c36e81 (patch) | |
tree | 0531ae17385cd0469bc59740bda4a18e1e23b8b3 | |
parent | 4eb168e0e81e25e39611231ee2a4aafa828e1055 (diff) | |
download | ports-8470e0e564623e1d33785d454925f5ed72c36e81.tar.gz ports-8470e0e564623e1d33785d454925f5ed72c36e81.zip |
emulators/advancemame: fix build on powerpc
Build with GCC, clang hangs.
-rw-r--r-- | emulators/advancemame/Makefile | 6 |
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| ; \ |