ports/95921: vtk43 update

Jason Bacon bacon at smithers.neuro.mcw.edu
Mon Apr 17 13:20:13 UTC 2006


>Number:         95921
>Category:       ports
>Synopsis:       vtk43 update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 17 13:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Medical College of Wisconsin
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 24 14:54:53 CDT 2005 bacon at clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone i386


>Description:
	Two changes to vtk43 port Makefile:

	1) Add mirror to MASTER_SITES

	2) Fix problem with gcc selection.  Old port compiles with gcc33
	   on FreeBSD 6, which has compatibility problems with the native
	   gcc.  Added check to use native gcc on 5.x and 6.x.

>How-To-Repeat:
>Fix:

--- /usr/ports/math/vtk43/Makefile	Wed Apr  5 17:46:43 2006
+++ Makefile	Thu Apr 13 14:03:22 2006
@@ -17,7 +17,8 @@
 PORTVERSION=	4.3.0
 PORTREVISION=	3
 CATEGORIES=	math graphics
-MASTER_SITES=	http://ovt.irfu.se/vtk/files/
+MASTER_SITES=	http://ovt.irfu.se/vtk/files/ \
+		http://www.neuro.mcw.edu/~bacon/Ports/distfiles/VTK43/
 DISTFILES?=	VTK-${PORTVERSION}-cvs${CVSDATE}.tar.gz
 
 MAINTAINER=	bacon at smithers.neuro.mcw.edu
@@ -72,7 +73,9 @@
 TTT=	"${CXXFLAGS}"	# this quotes are VERY important!
 OPTFLAGPRESENT=	${TTT:C/^.*-O[23].*$/yes/}
 .if ${OPTFLAGPRESENT} == "yes"
+.if ${OSVERSION} < 500000
 USE_GCC=	3.3
+.endif
 .endif
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list