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:
parent
316c4e9579
commit
99da1ec188
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252481
@ -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}
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user