1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

- Fix linking when Java wrapping is enabled

This commit is contained in:
Pietro Cerutti 2010-04-09 15:00:57 +00:00
parent 316c4e9579
commit 99da1ec188
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252481
2 changed files with 10 additions and 0 deletions

View File

@ -171,6 +171,12 @@ post-patch:
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
${WRKSRC}/IO/vtkPNGReader.cxx
post-configure:
.if defined(WITH_WRAP_JAVA)
${REINPLACE_CMD} -e 's|$$|-L/usr/local/${JAVA_HOME}/jre/lib/${ARCH} -ljawt|' \
${CONFIGURE_WRKSRC}/Wrapping/Java/CMakeFiles/VTKJavaExecutable.dir/link.txt
.endif
pre-install:
.if defined(WITH_PYTHON)
${MKDIR} ${PYTHONPREFIX_SITELIBDIR}

View File

@ -264,6 +264,10 @@
%%JAVA%%lib/vtk-%%VER2%%/libvtkInfovisJava.so.%%VER1%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkInfovisJava.so.%%VER2%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkInfovisJava.so.%%VER3%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so
%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so.%%VER1%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so.%%VER2%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkParallelJava.so.%%VER3%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkRenderingJava.so
%%JAVA%%lib/vtk-%%VER2%%/libvtkRenderingJava.so.%%VER1%%
%%JAVA%%lib/vtk-%%VER2%%/libvtkRenderingJava.so.%%VER2%%