Date: Wed, 3 Jan 2007 13:40:58 GMT From: "R.Mahmatkhanov"<R.Mahmatkhanov@REMOVE_THIS.SKYLINK.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107469: [PATCH] math/vtk-python unbreak. Message-ID: <200701031340.l03DewEf095796@www.freebsd.org> Resent-Message-ID: <200701031350.l03DoCEJ071112@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107469 >Category: ports >Synopsis: [PATCH] math/vtk-python unbreak. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 03 13:50:11 GMT 2007 >Closed-Date: >Last-Modified: >Originator: R.Mahmatkhanov >Release: 6.2 >Organization: SkyLink >Environment: FreeBSD 6.2-PRERELEASE i386 >Description: Installing of math/vtk-python fails with this message: -- EXPAT was not found. Make sure EXPAT_LIBRARY and EXPAT_INCLUDE_DIR are set. CMake Error: VTK_USE_SYSTEM_EXPAT is ON, but EXPAT_LIBRARY is NOTFOUND. -- Configuring done *** Error code 255 Stop in /usr/ports/math/vtk-python. >How-To-Repeat: Try to install the port. >Fix: Patch attached with submission follows: *** /usr/ports/math/vtk-python/Makefile Wed Jan 3 16:33:00 2007 --- Makefile Wed Jan 3 16:33:34 2007 *************** *** 16,23 **** MASTERDIR= ${.CURDIR}/../vtk - BROKEN= Does not build - WRAP= Python BINARIES= vtkWrapPython vtkpython EXTRA_LIBS= RenderingPythonTkWidgets --- 16,21 ---- *************** *** 37,42 **** --- 35,42 ---- -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=${PREFIX}/libexpat.so \ + -DEXPAT_INCLUDE_DIR:PATH=${PREFIX}/include \ -DCMAKE_BACKWARDS_COMPATIBILITY:STRING=2.2 PLIST_SUB+= VTK_PTH_LOCATION_DIR=${PYTHON_SITELIBDIR} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701031340.l03DewEf095796>