sysutils/javaservicewrapper: fix build on powerpc64
PR: 251892 Approved by: michael.osipov@siemens.com (maintainer) MFH: 2020Q4
This commit is contained in:
parent
a64c1df6e3
commit
01158fc867
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558229
@ -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
|
||||
ONLY_FOR_ARCHS= amd64 i386 powerpc64
|
||||
|
||||
USES= gmake iconv
|
||||
USE_JAVA= yes
|
||||
@ -28,7 +28,7 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if (${ARCH} == amd64)
|
||||
.if ${ARCH} == amd64 || ${ARCH} == powerpc64
|
||||
MAKE_ARGS+= -Dbits=64
|
||||
.else
|
||||
MAKE_ARGS+= -Dbits=32
|
||||
@ -43,6 +43,8 @@ post-patch:
|
||||
${WRKSRC}/src/c/Makefile-freebsd-x86-64.gmake
|
||||
@${REINPLACE_CMD} -e 's|\(javac\.target\.version\)=.*|\1=1.8|' \
|
||||
${WRKSRC}/default.properties
|
||||
@${CP} ${WRKSRC}/src/c/Makefile-freebsd-x86-64.gmake \
|
||||
${WRKSRC}/src/c/Makefile-freebsd-ppcbe-64.gmake
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
|
Loading…
Reference in New Issue
Block a user