diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 23:08:03 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 23:08:03 +0000 |
commit | 289e43903960cb5cc969890940be39e37f61e08e (patch) | |
tree | 482c5e5b80ed9972768a9cafec1941936e38bfa5 /graphics/glide3 | |
parent | 313948f537062188f3a30869c808e8248cc35e58 (diff) | |
download | ports-289e43903960cb5cc969890940be39e37f61e08e.tar.gz ports-289e43903960cb5cc969890940be39e37f61e08e.zip |
- Convert to OPTIONS
PR: ports/70735
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Notes
Notes:
svn path=/head/; revision=116856
Diffstat (limited to 'graphics/glide3')
-rw-r--r-- | graphics/glide3/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/graphics/glide3/Makefile b/graphics/glide3/Makefile index aec048d6f1a2..d97d92e51571 100644 --- a/graphics/glide3/Makefile +++ b/graphics/glide3/Makefile @@ -10,11 +10,6 @@ PORTVERSION= 20020113 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,20 +36,22 @@ ONLY_FOR_ARCHS= i386 # 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 +.if defined(WITH_VOODOO3) +PKGNAMESUFFIX= -v3 CONFIGURE_ARGS+= --enable-fx-glide-hw=h3 .else -pre-everything:: - @${ECHO_MSG} "Use make -DWITH_VOODOO3 if you have a Voodoo3 or Banshee card" +PKGNAMESUFFIX= -v5 .endif pre-configure: - cd $(WRKSRC) && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal + cd ${WRKSRC} && ${ACLOCAL} -I ${LOCALBASE}/share/aclocal .include <bsd.port.post.mk> |