summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2004-02-08 08:21:38 +0000
committerDoug Barton <dougb@FreeBSD.org>2004-02-08 08:21:38 +0000
commit3e27e92e6d39377c352200d3f451a4683e149a92 (patch)
tree3cfc7f456f685c651ed20edfcc88259c0b79d90f /x11
parentFix a long-standing silly bug in uninstall_pkg(). (diff)
Borrow a bit from the -gnome version of the port that's supposed to
help compilation on amd64.
Diffstat (limited to 'x11')
-rw-r--r--x11/xscreensaver/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 393a474b8528..02e039cd8fae 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -25,7 +25,7 @@ LIB_DEPENDS= gle.3:${PORTSDIR}/graphics/gle \
USE_X_PREFIX= yes
USE_XPM= yes
-USE_MESA= yes
+USE_GL= yes
USE_GMAKE= yes
USE_GTK= yes
GNU_CONFIGURE= yes
@@ -80,6 +80,10 @@ MAN1= anemone.1 ant.1 apollonian.1 atlantis.1 attraction.1 blaster.1 \
xscreensaver-getimage-file.1 xscreensaver-getimage-video.1 \
xscreensaver-getimage.1 xscreensaver-gl-helper.1 xscreensaver.1
+.if ${ARCH} == "amd64"
+CFLAGS+= -O0
+.endif
+
pre-fetch:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
@${ECHO} ''