From stolz@i2.informatik.rwth-aachen.de  Mon Jun  2 23:45:31 2003
Return-Path: <stolz@i2.informatik.rwth-aachen.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0391A37B401; Mon,  2 Jun 2003 23:45:31 -0700 (PDT)
Received: from atlas.informatik.rwth-aachen.de (atlas.Informatik.RWTH-Aachen.DE [137.226.194.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id A997543FB1; Mon,  2 Jun 2003 23:45:29 -0700 (PDT)
	(envelope-from stolz@i2.informatik.rwth-aachen.de)
Received: from menelaos.informatik.rwth-aachen.de (menelaos.Informatik.RWTH-Aachen.DE [137.226.194.73])
	by atlas.informatik.rwth-aachen.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id h536jSK04751;
	Tue, 3 Jun 2003 08:45:28 +0200
Received: (from stolz@localhost)
	by menelaos.informatik.rwth-aachen.de (8.12.9/8.12.9/Submit) id h536jSDh029247;
	Tue, 3 Jun 2003 08:45:28 +0200 (CEST)
	(envelope-from stolz)
Message-Id: <200306030645.h536jSDh029247@menelaos.informatik.rwth-aachen.de>
Date: Tue, 3 Jun 2003 08:45:28 +0200 (CEST)
From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Reply-To: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: arved@freebsd.org
Subject: [patch] graphics/gts: Mark as BROKEN on non-i386 (bento)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52883
>Category:       ports
>Synopsis:       [patch] graphics/gts: Mark as BROKEN on non-i386 (bento)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 02 23:50:18 PDT 2003
>Closed-Date:    Wed Jul 16 22:34:04 PDT 2003
>Last-Modified:  Wed Jul 16 22:34:04 PDT 2003
>Originator:     Volker Stolz
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Lehrstuhl fr Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #4: Tue Apr 29 11:28:13 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


	
>Description:
Bento noticed that graphics/gts only builds on i386. Mark as BROKEN
accordingly.
>How-To-Repeat:
http://bento.freebsd.org/errorlogs/alpha-5-latest/gts-0.7.1.log
>Fix:
- Mark as BROKEN on non-i386
- Strip a bit of pkg-descr to avoid portlint warning while here

--- Makefile.orig	Mon Jun  2 15:47:06 2003
+++ Makefile	Tue Jun  3 08:39:44 2003
@@ -15,6 +15,12 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GNU Triangulated Surface Library
 
+.include <bsd.port.pre.mk>
+
+.if (${ARCH} != "i386")
+BROKEN=	"Supports only i386 FP operation"
+.endif
+
 USE_GNOME=	glib12
 USE_GETOPT_LONG=	yes
 USE_REINPLACE=	yes
@@ -36,4 +42,4 @@
 	${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

--- pkg-descr.orig	Tue Jun  3 08:39:57 2003
+++ pkg-descr	Tue Jun  3 08:40:03 2003
@@ -2,11 +2,6 @@
 Free Software Library intended to provide a set of useful functions to deal
 with 3D surfaces meshed with interconnected triangles.
 
-The code is written entirely in C with an object-oriented approach based
-mostly on the design of GTK+. Careful attention is paid to performance related
-issues as the initial goal of GTS is to provide a simple and efficient library
-to scientists dealing with 3D computational surface meshes.
-
 A brief summary of its main features:
    - Simple object-oriented structure giving easy access to topological
      properties.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: daichi 
State-Changed-When: Wed Jul 16 22:33:51 PDT 2003 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52883 
>Unformatted:
