diff options
author | pav <pav@FreeBSD.org> | 2004-08-21 07:08:03 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-08-21 07:08:03 +0800 |
commit | fbceebb79008bee3cca872dc5f64232f5882f3a5 (patch) | |
tree | 205fba92b809a8bd4a461bba6b353e7ce1484249 /graphics | |
parent | b5ebc8938f1b77fa25b104d39299a9ca5fbe597c (diff) | |
download | freebsd-ports-gnome-fbceebb79008bee3cca872dc5f64232f5882f3a5.tar.gz freebsd-ports-gnome-fbceebb79008bee3cca872dc5f64232f5882f3a5.tar.zst freebsd-ports-gnome-fbceebb79008bee3cca872dc5f64232f5882f3a5.zip |
- Convert to OPTIONS
PR: ports/70735
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'graphics')
-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> |