diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-16 01:23:01 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-03-16 01:23:01 +0000 |
commit | b85a0940f765a5c22f79c62ec86cc0005cd4f079 (patch) | |
tree | 2e706ab82cb619aea1a2cf801b76fc3097b9aff6 /games/lwjgl | |
parent | 35860cdfd4e2357bb6f5f813993b0f3450aa70cb (diff) | |
download | ports-b85a0940f765a5c22f79c62ec86cc0005cd4f079.tar.gz ports-b85a0940f765a5c22f79c62ec86cc0005cd4f079.zip |
games/lwjgl: port to powerpc64le
Approved by: tier 2 blanket
Notes
Notes:
svn path=/head/; revision=568535
Diffstat (limited to 'games/lwjgl')
-rw-r--r-- | games/lwjgl/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile index 93dd412765e8..8ee2138b9335 100644 --- a/games/lwjgl/Makefile +++ b/games/lwjgl/Makefile @@ -10,7 +10,7 @@ COMMENT= Lightweight Java Game Library LICENSE= BSD3CLAUSE -ONLY_FOR_ARCHS= amd64 i386 powerpc64 +ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils \ ${JAVAJARDIR}/jinput/jinput.jar:games/jinput @@ -42,11 +42,11 @@ PLIST_DIRS= ${JAVAJARDIR}/${PORTNAME} \ PLIST_FILES+= lib/${PORTNAME}/lib${PORTNAME}.so .endif -.if ${ARCH} == amd64 || ${ARCH} == powerpc64 +.if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} PLIST_FILES+= lib/${PORTNAME}/lib${PORTNAME}64.so .endif -.if ${ARCH} == powerpc64 +.if ${ARCH:Mpowerpc64*} MAKE_ARGS+= -Dbuild.64bit.only=1 .endif @@ -57,6 +57,9 @@ post-patch: .if ${ARCH} == powerpc64 @${REINPLACE_CMD} -e 's|amd64|ppc64|g' \ ${WRKSRC}/platform_build/bsd_ant/build.xml +.elif ${ARCH} == powerpc64le + @${REINPLACE_CMD} -e 's|amd64|ppc64le|g' \ + ${WRKSRC}/platform_build/bsd_ant/build.xml .endif do-install: @@ -70,7 +73,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/libs/freebsd/lib${PORTNAME}.so \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .endif -.if ${ARCH} == amd64 || ${ARCH} == powerpc64 +.if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} ${INSTALL_DATA} ${WRKSRC}/libs/freebsd/lib${PORTNAME}64.so \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .endif |