Skip to content

Commit

Permalink
lang/luajit-devel: drop binutils as on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Aug 12, 2023
1 parent 60aaf2a commit 14ec851
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lang/luajit-devel/Makefile
Expand Up @@ -28,16 +28,9 @@ LUAJIT_SOVERSION= 2.1.0

PLIST_SUB+= VERSION=${LUAJIT_VERSION} SOVERSION=${LUAJIT_SOVERSION}

.include <bsd.port.pre.mk>

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

post-install:
${LN} -sf ${PORTNAME}-${LUAJIT_VERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/etc/luajit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

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

0 comments on commit 14ec851

Please sign in to comment.