Set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 and unbreak.

PR:		ports/102437
Submitted by:	TAOKA Fumiyoshi <fmysh (at) iijmio-mail.jp>
Approved by:	maintainer's time-out (since 23 Aug 2006)
This commit is contained in:
Thierry Thomas 2006-10-06 22:58:56 +00:00
parent f66942dd5b
commit e26d5a3230
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174692

View File

@ -14,10 +14,6 @@ LIB_DEPENDS= vtkCommon.${LIBVER}:${PORTSDIR}/math/vtk \
tcl84:${PORTSDIR}/lang/tcl84 \
tk84:${PORTSDIR}/x11-toolkits/tk84
BROKEN= Does not build
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
MASTERDIR= ${.CURDIR}/../vtk
WRAP= Python
@ -38,7 +34,8 @@ CMAKE_DEFS= -DVTK_WRAP_PYTHON:BOOL=ON \
-DPYTHON_INCLUDE_PATH:PATH=${PYTHON_INCLUDEDIR} \
-DPYTHON_LIBRARY:FILEPATH=${PYTHON_LIBDIR}/config/lib${PYTHON_VERSION}.a \
-DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDE_DIR} \
-DTK_INCLUDE_PATH:PATH=${TK_INCLUDE_DIR}
-DTK_INCLUDE_PATH:PATH=${TK_INCLUDE_DIR} \
-DCMAKE_BACKWARDS_COMPATIBILITY:STRING=2.2
PLIST_SUB+= VTK_PTH_LOCATION_DIR=${PYTHON_SITELIBDIR}