From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 27 02:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18DE4106566C for ; Mon, 27 Jul 2009 02:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E79808FC13 for ; Mon, 27 Jul 2009 02:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6R2o0ob096283 for ; Mon, 27 Jul 2009 02:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6R2o05V096282; Mon, 27 Jul 2009 02:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 27 Jul 2009 02:50:00 GMT Resent-Message-Id: <200907270250.n6R2o05V096282@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stas Timokhin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D439E1065680 for ; Mon, 27 Jul 2009 02:46:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C28DF8FC17 for ; Mon, 27 Jul 2009 02:46:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6R2knOi003758 for ; Mon, 27 Jul 2009 02:46:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6R2knqT003757; Mon, 27 Jul 2009 02:46:49 GMT (envelope-from nobody) Message-Id: <200907270246.n6R2knqT003757@www.freebsd.org> Date: Mon, 27 Jul 2009 02:46:49 GMT From: Stas Timokhin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137162: Change in port math/vtk5: add GL2PS knobs to OPTIONS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 02:50:01 -0000 >Number: 137162 >Category: ports >Synopsis: Change in port math/vtk5: add GL2PS knobs to OPTIONS >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: Mon Jul 27 02:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stas Timokhin >Release: 8.0-Current >Organization: None >Environment: >Description: This knobs need to build Salome (http://www.salome-platform.org/ex/att/16_SALOME_4_1_5_Release_Notes.pdf, page 14,) application. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2009-07-27 09:37:52.000000000 +0700 +++ Makefile 2009-07-27 09:40:46.000000000 +0700 @@ -3,12 +3,12 @@ # Whom: Mykola Khotyaintsev # Repocopied from math/vtk by: Jason W. Bacon # -# $FreeBSD: ports/math/vtk5/Makefile,v 1.49 2009/07/18 11:11:11 dinoex Exp $ +# $FreeBSD$ # PORTNAME= vtk PORTVERSION= 5.0.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math graphics MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/ \ http://www.neuro.mcw.edu/Ports/distfiles/VTK5/ @@ -50,7 +50,8 @@ USE_LDCONFIG= yes OPTIONS= MANGLEDMESA "Use off-screen (Mangled) Mesa" Off \ - VTKMPEG2 "Install patented MPEG2 encoder module" Off + VTKMPEG2 "Install patented MPEG2 encoder module" Off \ + GL2PS "Install support conversion OpenGL to PostScript" Off PLIST_SUB= VER=${PORTVERSION} VER1=${PORTVERSION:R} VER2=${PORTVERSION:R:R} @@ -107,6 +108,12 @@ -DVTK_USE_MPEG2_ENCODER:BOOL=ON .endif +.if defined(WITH_GL2PS) +LIB_DEPENDS+= gl2ps.1:${PORTSDIR}/print/gl2ps +CMAKE_ARGS+= -DVTK_USE_GL2PS:BOOL=ON +PLIST_FILES+= include/vtk-5.0/vtkGL2PSExporter.h +.endif + post-extract: ${MKDIR} ${WRKSRC} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ >Release-Note: >Audit-Trail: >Unformatted: