MFH: r558229
sysutils/javaservicewrapper: fix build on powerpc64 PR: 251892 Approved by: michael.osipov@siemens.com (maintainer)
This commit is contained in:
parent
9512d2f433
commit
59e2465e15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=558230
@ -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