aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/vtk-python/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/vtk-python/Makefile b/math/vtk-python/Makefile
index 54d5a4c874d0..bffd5092bc14 100644
--- a/math/vtk-python/Makefile
+++ b/math/vtk-python/Makefile
@@ -16,8 +16,6 @@ LIB_DEPENDS= vtkCommon.${LIBVER}:${PORTSDIR}/math/vtk \
MASTERDIR= ${.CURDIR}/../vtk
-BROKEN= Does not build
-
WRAP= Python
BINARIES= vtkWrapPython vtkpython
EXTRA_LIBS= RenderingPythonTkWidgets
@@ -37,6 +35,8 @@ CMAKE_DEFS= -DVTK_WRAP_PYTHON:BOOL=ON \
-DPYTHON_LIBRARY:FILEPATH=${PYTHON_LIBDIR}/config/lib${PYTHON_VERSION}.a \
-DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDE_DIR} \
-DTK_INCLUDE_PATH:PATH=${TK_INCLUDE_DIR} \
+ -DEXPAT_LIBRARY:PATH=${LOCALBASE}/libexpat.so \
+ -DEXPAT_INCLUDE_DIR:PATH=${LOCALBASE}/include \
-DCMAKE_BACKWARDS_COMPATIBILITY:STRING=2.2
PLIST_SUB+= VTK_PTH_LOCATION_DIR=${PYTHON_SITELIBDIR}