From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 3 13:50:12 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8E8216A492 for ; Wed, 3 Jan 2007 13:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7952C13C459 for ; Wed, 3 Jan 2007 13:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l03DoCsf071113 for ; Wed, 3 Jan 2007 13:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l03DoCEJ071112; Wed, 3 Jan 2007 13:50:12 GMT (envelope-from gnats) Resent-Date: Wed, 3 Jan 2007 13:50:12 GMT Resent-Message-Id: <200701031350.l03DoCEJ071112@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "R.Mahmatkhanov" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E20816A47E for ; Wed, 3 Jan 2007 13:40:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 0F43213C44C for ; Wed, 3 Jan 2007 13:40:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l03DewFD095798 for ; Wed, 3 Jan 2007 13:40:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l03DewEf095796; Wed, 3 Jan 2007 13:40:58 GMT (envelope-from nobody) Message-Id: <200701031340.l03DewEf095796@www.freebsd.org> Date: Wed, 3 Jan 2007 13:40:58 GMT From: "R.Mahmatkhanov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/107469: [PATCH] math/vtk-python unbreak. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jan 2007 13:50:12 -0000 >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: