ports/107469: [PATCH] math/vtk-python unbreak.

R.Mahmatkhanov R.Mahmatkhanov at REMOVE_THIS.SKYLINK.ru
Wed Jan 3 13:50:12 UTC 2007


>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:



More information about the freebsd-ports-bugs mailing list