When building on powerpc64, libj3dcore-ogl.so library isn't built.
Fix install target by fixing CFLAGS. PR: 231946 Submitted by: Piotr Kubaj
This commit is contained in:
parent
2c88a48f8d
commit
8d5a4d502f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484256
@ -17,7 +17,7 @@ BROKEN_aarch64= fails to compile: GVector.java:168: bad use of '>'
|
||||
BROKEN_armv6= fails to compile: build.xml: Compile failed; see the compiler error output for details
|
||||
BROKEN_armv7= fails to compile: build.xml: Compile failed; see the compiler error output for details
|
||||
|
||||
USES= tar:bzip2
|
||||
USES= gl tar:bzip2
|
||||
USE_JAVA= yes
|
||||
USE_GL= gl
|
||||
USE_XORG= xt
|
||||
@ -33,6 +33,8 @@ PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|gcc|${CC}|g' \
|
||||
${WRKSRC}/j3d-core/src/native/ogl/build-freebsd.xml
|
||||
@ -58,10 +60,12 @@ do-install:
|
||||
${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dcore.jar \
|
||||
${WRKSRC}/j3d-core/build/default/opt/lib/ext/j3dutils.jar \
|
||||
${STAGEDIR}${JAVA_HOME}/jre/lib/ext
|
||||
.if ${ARCH} != powerpc64
|
||||
@${MKDIR} ${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH}
|
||||
${INSTALL} \
|
||||
${WRKSRC}/j3d-core/build/default/opt/native/libj3dcore-ogl.so \
|
||||
${STAGEDIR}${JAVA_HOME}/jre/lib/${ARCH}
|
||||
.endif
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user