From fmysh@quad.dyndns.org  Wed Aug 23 15:17:03 2006
Return-Path: <fmysh@quad.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7402116A4DD
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Aug 2006 15:17:03 +0000 (UTC)
	(envelope-from fmysh@quad.dyndns.org)
Received: from xeon.quad.dyndns.org (228.142.138.210.bn.2iij.net [210.138.142.228])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0FC2543D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 23 Aug 2006 15:17:02 +0000 (GMT)
	(envelope-from fmysh@quad.dyndns.org)
Received: from localhost (localhost [127.0.0.1])
	by xeon.quad.dyndns.org (Postfix) with ESMTP id 3CB23153500;
	Thu, 24 Aug 2006 00:17:01 +0900 (JST)
Received: from xeon.quad.dyndns.org ([127.0.0.1])
	by localhost (xeon.quad.dyndns.org [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id XOq78+iqcL-r; Thu, 24 Aug 2006 00:16:50 +0900 (JST)
Received: by xeon.quad.dyndns.org (Postfix, from userid 1001)
	id F10951534FE; Thu, 24 Aug 2006 00:16:49 +0900 (JST)
Message-Id: <20060823151649.F10951534FE@xeon.quad.dyndns.org>
Date: Thu, 24 Aug 2006 00:16:49 +0900 (JST)
From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Reply-To: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Subject: Unbreak port: math/vtk-python
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ko@irfu.se

>Number:         102437
>Category:       ports
>Synopsis:       Unbreak port: math/vtk-python
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 15:20:21 GMT 2006
>Closed-Date:    Fri Oct 06 22:59:33 GMT 2006
>Last-Modified:  Fri Oct  6 23:00:22 GMT 2006
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Aug 23 15:20:34 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102437 

From: Mykola Khotyaintsev <ko@irfu.se>
To: bug-followup@FreeBSD.org, fmysh@iijmio-mail.jp
Cc:  
Subject: Re: ports/102437: Unbreak port: math/vtk-python
Date: Wed, 23 Aug 2006 17:47:34 +0200

 Unfortunately I can not look at this bug fix right now, sorry.
State-Changed-From-To: feedback->closed 
State-Changed-By: thierry 
State-Changed-When: Fri Oct 6 22:58:59 UTC 2006 
State-Changed-Why:  

Committed, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=102437 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/102437: commit references a PR
Date: Fri,  6 Oct 2006 22:59:03 +0000 (UTC)

 thierry     2006-10-06 22:58:57 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/vtk-python      Makefile 
   Log:
   Set CMAKE_BACKWARDS_COMPATIBILITY to 2.2 and unbreak.
   
   PR:             ports/102437
   Submitted by:   TAOKA Fumiyoshi <fmysh (at) iijmio-mail.jp>
   Approved by:    maintainer's time-out (since 23 Aug 2006)
   
   Revision  Changes    Path
   1.6       +2 -5      ports/math/vtk-python/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
