Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 19:18:10 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8470e0e56462 - main - emulators/advancemame: fix build on powerpc
Message-ID:  <202107181918.16IJIAF4045144@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8470e0e564623e1d33785d454925f5ed72c36e81

commit 8470e0e564623e1d33785d454925f5ed72c36e81
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-07-18 19:03:46 +0000
Commit:     Piotr Kubaj <pkubaj@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| ; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107181918.16IJIAF4045144>