Skip to content

Commit

Permalink
games/tome4: drop bfd on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Aug 12, 2023
1 parent 14ec851 commit fb32485
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions games/tome4/Makefile
Expand Up @@ -35,13 +35,6 @@ MAKE_ARGS+= config=release verbose=yes ARCH="" CC=${CC} CXX=${CXX}
CFLAGS+= -Wno-error=incompatible-function-pointer-types
LDFLAGS_i386= -Wl,-znotext

.include <bsd.port.pre.mk>

.if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} < 140
BUILD_DEPENDS+= as:devel/binutils
CFLAGS+= -fno-integrated-as
.endif

pre-build:
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua
.if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*} || ${ARCH} == riscv64
Expand All @@ -61,4 +54,4 @@ do-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps

.include <bsd.port.post.mk>
.include <bsd.port.mk>

0 comments on commit fb32485

Please sign in to comment.