Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 08:13:52 -0500 (CDT)
From:      Jason Bacon <bacon@smithers.neuro.mcw.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95921: vtk43 update
Message-ID:  <200604171313.k3HDDq7f072149@smithers.neuro.mcw.edu>
Resent-Message-ID: <200604171320.k3HDKBlA047772@freefall.freebsd.org>

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

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604171313.k3HDDq7f072149>