sysutils/javaservicewrapper: fix powerpc64le the same way that powerpc64 is fixed

This commit is contained in:
Piotr Kubaj 2021-01-01 17:17:36 +00:00
parent e4a1c4e89b
commit 0dfea3782d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559860

View File

@ -13,7 +13,7 @@ COMMENT= JSW enables a Java application to be run as a Unix daemon
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
ONLY_FOR_ARCHS= amd64 i386 powerpc64
ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le
USES= gmake iconv
USE_JAVA= yes
@ -28,7 +28,7 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == amd64 || ${ARCH} == powerpc64
.if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*}
MAKE_ARGS+= -Dbits=64
.else
MAKE_ARGS+= -Dbits=32
@ -45,6 +45,8 @@ post-patch:
${WRKSRC}/default.properties
@${CP} ${WRKSRC}/src/c/Makefile-freebsd-x86-64.gmake \
${WRKSRC}/src/c/Makefile-freebsd-ppcbe-64.gmake
@${CP} ${WRKSRC}/src/c/Makefile-freebsd-x86-64.gmake \
${WRKSRC}/src/c/Makefile-freebsd-ppcle-64.gmake
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}