Date: Sat, 21 Aug 2004 01:14:31 +0800 (CST) From: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/70735: [UPDATE] Enable OPTIONS feature of ports/graphics/glide3 Message-ID: <200408201714.i7KHEVeY057874@alumni.csie.nctu.edu.tw> Resent-Message-ID: <200408201720.i7KHKNmO039491@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> .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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408201714.i7KHEVeY057874>