From c89d024d0dcd37475499610a6387d86adb99f45f Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Thu, 18 Jan 2007 19:36:45 +0000 Subject: [PATCH] - Fix build PR: ports/107469 Submitted by: R.Mahmatkhanov Approved by: maintainer timeout (15 days) --- math/vtk-python/Makefile | 4 ++-- 1 file 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}