diff --git a/sysutils/javaservicewrapper/Makefile b/sysutils/javaservicewrapper/Makefile index 867ae186e3cc..269017b0e231 100644 --- a/sysutils/javaservicewrapper/Makefile +++ b/sysutils/javaservicewrapper/Makefile @@ -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 -.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}