From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 20 17:20:23 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6560A16A4CE for ; Fri, 20 Aug 2004 17:20:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38E0343D45 for ; Fri, 20 Aug 2004 17:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7KHKNkD039492 for ; Fri, 20 Aug 2004 17:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7KHKNmO039491; Fri, 20 Aug 2004 17:20:23 GMT (envelope-from gnats) Resent-Date: Fri, 20 Aug 2004 17:20:23 GMT Resent-Message-Id: <200408201720.i7KHKNmO039491@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, Ying-Chieh Chen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF66B16A4CE for ; Fri, 20 Aug 2004 17:14:42 +0000 (GMT) Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4199343D2F for ; Fri, 20 Aug 2004 17:14:42 +0000 (GMT) (envelope-from yinjieh@csie.nctu.edu.tw) Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1]) i7KHEVhk057875 for ; Sat, 21 Aug 2004 01:14:31 +0800 (CST) Received: (from yinjieh@localhost) by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7KHEVeY057874; Sat, 21 Aug 2004 01:14:31 +0800 (CST) Message-Id: <200408201714.i7KHEVeY057874@alumni.csie.nctu.edu.tw> Date: Sat, 21 Aug 2004 01:14:31 +0800 (CST) From: Ying-Chieh Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70735: [UPDATE] Enable OPTIONS feature of ports/graphics/glide3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ying-Chieh Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 17:20:23 -0000 >Number: 70735 >Category: ports >Synopsis: [UPDATE] Enable OPTIONS feature of ports/graphics/glide3 >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: Fri Aug 20 17:20:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ying-Chieh Chen >Release: FreeBSD 4.10-STABLE i386 >Organization: NCTU CSIE >Environment: System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan@ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386 >Description: Enable OPTIONS feature of ports/graphics/glide3 >How-To-Repeat: Apply the patch. >Fix: --- glide3.patch begins here --- diff -ruN /usr/ports/graphics/glide3/Makefile glide3/Makefile --- /usr/ports/graphics/glide3/Makefile Sat Jul 31 23:59:47 2004 +++ glide3/Makefile Fri Aug 20 22:27:05 2004 @@ -10,11 +10,6 @@ PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/ -.ifdef WITH_VOODOO3 -PKGNAMESUFFIX= -v3 -.else -PKGNAMESUFFIX= -v5 -.endif DISTNAME= Glide3-FreeBSD-${PORTVERSION} EXTRACT_SUFX= .tar.bz2 #The distfile is CVS Glide3-FreeBSD branch with */glide3/tests/* removed @@ -41,17 +36,22 @@ # Glide3 DOES NOT work with CFLAGS greater than -O2 CFLAGS+= -O +OPTIONS= VOODOO3 "Enable this if you have a Voodoo3 or Banshee card" off + .include .if ${OSVERSION} >= 500113 BROKEN= "Does not compile on FreeBSD ${OSVERSION}" .endif -.ifdef WITH_VOODOO3 -CONFIGURE_ARGS+= --enable-fx-glide-hw=h3 +.if defined(WITH_VOODOO3) +PKGNAMESUFFIX= -v3 .else -pre-everything:: - @${ECHO_MSG} "Use make -DWITH_VOODOO3 if you have a Voodoo3 or Banshee card" +PKGNAMESUFFIX= -v5 +.endif + +.if defined(WITH_VOODOO3) +CONFIGURE_ARGS+= --enable-fx-glide-hw=h3 .endif pre-configure: --- glide3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: