Lines 10-20
Link Here
|
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/ |
12 |
MASTER_SITES= http://people.freebsd.org/~anholt/dri/files/ |
13 |
.ifdef WITH_VOODOO3 |
|
|
14 |
PKGNAMESUFFIX= -v3 |
15 |
.else |
16 |
PKGNAMESUFFIX= -v5 |
17 |
.endif |
18 |
DISTNAME= Glide3-FreeBSD-${PORTVERSION} |
13 |
DISTNAME= Glide3-FreeBSD-${PORTVERSION} |
19 |
EXTRACT_SUFX= .tar.bz2 |
14 |
EXTRACT_SUFX= .tar.bz2 |
20 |
#The distfile is CVS Glide3-FreeBSD branch with */glide3/tests/* removed |
15 |
#The distfile is CVS Glide3-FreeBSD branch with */glide3/tests/* removed |
Lines 41-57
Link Here
|
41 |
# Glide3 DOES NOT work with CFLAGS greater than -O2 |
36 |
# Glide3 DOES NOT work with CFLAGS greater than -O2 |
42 |
CFLAGS+= -O |
37 |
CFLAGS+= -O |
43 |
|
38 |
|
|
|
39 |
OPTIONS= VOODOO3 "Enable this if you have a Voodoo3 or Banshee card" off |
40 |
|
44 |
.include <bsd.port.pre.mk> |
41 |
.include <bsd.port.pre.mk> |
45 |
|
42 |
|
46 |
.if ${OSVERSION} >= 500113 |
43 |
.if ${OSVERSION} >= 500113 |
47 |
BROKEN= "Does not compile on FreeBSD ${OSVERSION}" |
44 |
BROKEN= "Does not compile on FreeBSD ${OSVERSION}" |
48 |
.endif |
45 |
.endif |
49 |
|
46 |
|
50 |
.ifdef WITH_VOODOO3 |
47 |
.if defined(WITH_VOODOO3) |
51 |
CONFIGURE_ARGS+= --enable-fx-glide-hw=h3 |
48 |
PKGNAMESUFFIX= -v3 |
52 |
.else |
49 |
.else |
53 |
pre-everything:: |
50 |
PKGNAMESUFFIX= -v5 |
54 |
@${ECHO_MSG} "Use make -DWITH_VOODOO3 if you have a Voodoo3 or Banshee card" |
51 |
.endif |
|
|
52 |
|
53 |
.if defined(WITH_VOODOO3) |
54 |
CONFIGURE_ARGS+= --enable-fx-glide-hw=h3 |
55 |
.endif |
55 |
.endif |
56 |
|
56 |
|
57 |
pre-configure: |
57 |
pre-configure: |