1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix build

PR:		ports/107469
Submitted by:	R.Mahmatkhanov <R.Mahmatkhanov at SKYLINK.ru>
Approved by:	maintainer timeout (15 days)
This commit is contained in:
Rong-En Fan 2007-01-18 19:36:45 +00:00
parent 01239c9756
commit c89d024d0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182752

View File

@ -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}