ports/102437: Unbreak port: math/vtk-python
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Wed Aug 23 15:20:27 UTC 2006
>Number: 102437
>Category: ports
>Synopsis: Unbreak port: math/vtk-python
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 23 15:20:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: TAOKA Fumiyoshi
>Release:
>Organization:
>Environment:
>Description:
Unbreak math/vtk-python.
>How-To-Repeat:
# make configure
(snip)
CMake Error: Attempt to add link target vtkCommonPython of type: MODULE_LIBRARY
to target vtkFilteringPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkFilteringPython of type: MODULE_LIBRARY
to target vtkImagingPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkFilteringPython of type: MODULE_LIBRARY
to target vtkGraphicsPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkFilteringPython of type: MODULE_LIBRARY
to target vtkIOPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkGraphicsPython of type: MODULE_LIBRARY
to target vtkRenderingPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkImagingPython of type: MODULE_LIBRARY
to target vtkRenderingPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkRenderingPython of type: MODULE_LIBRARY
to target vtkHybridPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkIOPython of type: MODULE_LIBRARY
to target vtkHybridPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkGraphicsPython of type: MODULE_LIBRARY
to target vtkPatentedPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkImagingPython of type: MODULE_LIBRARY
to target vtkPatentedPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkRenderingPython of type: MODULE_LIBRARY
to target vtkParallelPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
CMake Error: Attempt to add link target vtkIOPython of type: MODULE_LIBRARY
to target vtkParallelPython. You can only link to STATIC or SHARED libraries.
To allow linking of modules set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 or lower
-- Configuring done
*** Error code 255
Stop in /usr/ports/math/vtk-python.
>Fix:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/math/vtk-python/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 17 Aug 2006 21:04:46 -0000 1.4
+++ Makefile 23 Aug 2006 14:41:48 -0000
@@ -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: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