Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 08:56:35 +1000 (EST)
From:      Tony Maher <anthony.maher@uts.edu.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102456: maths/vtk-python fix
Message-ID:  <200608232256.k7NMuZ4q001097@karma.internal>
Resent-Message-ID: <200608232300.k7NN0dt6075905@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102456
>Category:       ports
>Synopsis:       maths/vtk-python fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 23:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tony Maher
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD karma.internal 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #12: Thu Aug 3 17:05:46 EST 2006 root@karma.internal:/usr/src/sys/i386/compile/KARMA i386


>Description:

    vtk-python has been marked  BROKEN= Does not build
    Simple patch to allow it to build.
    This port does not appear to have a maintainer line,
    is this because it is a slave port?
    portlint has a few complaints but I have not looked at these.

>How-To-Repeat:

>Fix:


diff -ruN vtk-python.orig/Makefile vtk-python/Makefile
--- vtk-python.orig/Makefile	Tue Aug 22 20:43:48 2006
+++ vtk-python/Makefile	Tue Aug 22 20:45:45 2006
@@ -14,8 +14,6 @@
 		tcl84:${PORTSDIR}/lang/tcl84 \
 		tk84:${PORTSDIR}/x11-toolkits/tk84
 
-BROKEN=		Does not build
-
 MASTERDIR=	${.CURDIR}/../vtk
 
 WRAP=		Python
@@ -36,7 +34,8 @@
 		-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=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?200608232256.k7NMuZ4q001097>