diff options
author | Florent Thoumie <flz@FreeBSD.org> | 2007-10-25 10:42:56 +0000 |
---|---|---|
committer | Florent Thoumie <flz@FreeBSD.org> | 2007-10-25 10:42:56 +0000 |
commit | c6e1ca916ec524bbdd474819108ad6668d6f3735 (patch) | |
tree | 01635911e60c0d2559278bef69ea927e1aabb42b /graphics/libGL | |
parent | 13939b26bd391cb938fcf04422a735dde2f481de (diff) | |
download | ports-c6e1ca916ec524bbdd474819108ad6668d6f3735.tar.gz ports-c6e1ca916ec524bbdd474819108ad6668d6f3735.zip |
Notes
Diffstat (limited to 'graphics/libGL')
-rw-r--r-- | graphics/libGL/bsd.mesalib.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/libGL/bsd.mesalib.mk b/graphics/libGL/bsd.mesalib.mk index 39350c1d2962..d7b633b79e68 100644 --- a/graphics/libGL/bsd.mesalib.mk +++ b/graphics/libGL/bsd.mesalib.mk @@ -57,12 +57,19 @@ PLIST_SUB+= I386_AMD64="@comment " ALL_TARGET= freebsd-dri .endif +.if ${ARCH} == alpha +FAST_MATH= +.else +FAST_MATH= -ffast-math +.endif + pre-patch: @${REINPLACE_CMD} \ -e '/^CC =/d' -e '/^CXX =/d' \ -e 's|/usr/X11R6|${X11BASE}|g' \ -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + -e 's|-ffast-math|${FAST_MATH}|g' \ -e 's|CFLAGS = |CFLAGS = ${CFLAGS} |g' \ -e 's|OPT_FLAGS = .*|OPT_FLAGS = ${CFLAGS}|g' \ -e "s|SRC_DIRS = .*|SRC_DIRS = ${SRCDIR}|g" \ |