aboutsummaryrefslogtreecommitdiffstats
path: root/math/vtk-python
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-01-19 03:36:45 +0800
committerrafan <rafan@FreeBSD.org>2007-01-19 03:36:45 +0800
commitb17ff1354aa1ff6e0c484093b4fa16ffe523f1c6 (patch)
treed9768ce32f3df63fc0b8824204db8e6b61ff3014 /math/vtk-python
parent99b51a0a4ad95ca3fee732d490c27487543e3278 (diff)
downloadfreebsd-ports-gnome-b17ff1354aa1ff6e0c484093b4fa16ffe523f1c6.tar.gz
freebsd-ports-gnome-b17ff1354aa1ff6e0c484093b4fa16ffe523f1c6.tar.zst
freebsd-ports-gnome-b17ff1354aa1ff6e0c484093b4fa16ffe523f1c6.zip
- Fix build
PR: ports/107469 Submitted by: R.Mahmatkhanov <R.Mahmatkhanov at SKYLINK.ru> Approved by: maintainer timeout (15 days)
Diffstat (limited to 'math/vtk-python')
-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}