MFH: r489072
Correct mistakes made in r484256 by not including newer version of patch. This correctly fixes the build on powerpc64. PR: 231946 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
3d03a8e157
commit
fbc1d9b183
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q1/; revision=489073
@ -60,12 +60,10 @@ 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}
|
||||
|
@ -126,7 +126,7 @@ diff -ruN ../java3d-1.5.2/j3d-core/src/native/ogl/build-freebsd.xml ./j3d-core/s
|
||||
+
|
||||
+ <!-- Compile the c source files-->
|
||||
+ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc">
|
||||
+ <arg line="-fPIC -march=k8 -I${oglsrc} -I${ports.localbase}/include -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/DrawingSurfaceObjectAWT.c ${oglsrc}/Canvas3D.c ${oglsrc}/GraphicsContext3D.c ${oglsrc}/NativeScreenInfo.c ${oglsrc}/NativeConfigTemplate3D.c ${oglsrc}/MasterControl.c ${oglsrc}/GeometryArrayRetained.c ${oglsrc}/Attributes.c ${oglsrc}/CgShaderProgram.c ${oglsrc}/GLSLShaderProgram.c ${oglsrc}/Lights.c"/>
|
||||
+ <arg line="-fPIC -I${oglsrc} -I${ports.localbase}/include -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/DrawingSurfaceObjectAWT.c ${oglsrc}/Canvas3D.c ${oglsrc}/GraphicsContext3D.c ${oglsrc}/NativeScreenInfo.c ${oglsrc}/NativeConfigTemplate3D.c ${oglsrc}/MasterControl.c ${oglsrc}/GeometryArrayRetained.c ${oglsrc}/Attributes.c ${oglsrc}/CgShaderProgram.c ${oglsrc}/GLSLShaderProgram.c ${oglsrc}/Lights.c"/>
|
||||
+ </exec>
|
||||
+
|
||||
+ <!-- Create the library file-->
|
||||
@ -139,7 +139,7 @@ diff -ruN ../java3d-1.5.2/j3d-core/src/native/ogl/build-freebsd.xml ./j3d-core/s
|
||||
+ <target name="compile-ogl-cg" if="build.cg">
|
||||
+ <!-- Compile the wrapper -->
|
||||
+ <exec dir="${build}/${platform}/${bldType}/native/ogl/objs" executable="gcc">
|
||||
+ <arg line="-march=k8 -I${oglsrc} -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/CgWrapper.c"/>
|
||||
+ <arg line="-I${oglsrc} -I${java.home}/../include -I${java.home}/../include/freebsd -I${javahCoreTarget} ${bldFlag} -DLINUX ${cflags.cg} -c ${oglsrc}/CgWrapper.c"/>
|
||||
+ </exec>
|
||||
+
|
||||
+ <!-- Create the wrapper library -->
|
||||
|
Loading…
Reference in New Issue
Block a user