summaryrefslogtreecommitdiff
path: root/x11/xscreensaver-gnome
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-11 16:51:40 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-12-11 16:51:40 +0000
commitf7071289be2d314245dc8c3d0013173769f024c8 (patch)
treebbc0186087a6fa05a04df4b6ea70e4e0e06892cf /x11/xscreensaver-gnome
parentWith my portmgr hat on, mark this port FORBIDDEN as it contains a remotely (diff)
Fix build on amd64 by disabling optimizations.
Reported by: bento
Notes
Notes: svn path=/head/; revision=95623
Diffstat (limited to 'x11/xscreensaver-gnome')
-rw-r--r--x11/xscreensaver-gnome/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile
index 6d45118569c5..2430a8fea8b2 100644
--- a/x11/xscreensaver-gnome/Makefile
+++ b/x11/xscreensaver-gnome/Makefile
@@ -37,7 +37,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS+= --with-fortune="/usr/games/fortune -sa"
.endif
-MAN1= anemone.1 ant.1 apollonian.1 atlantis.1 attraction.1 blaster.1 \
+MAN1= anemone.1 ant.1 apollonian.1 atlantis.1 attraction.1 blaster.1 \
blitspin.1 bouboule.1 boxed.1 braid.1 bsod.1 bubble3d.1 bubbles.1 \
bumps.1 cage.1 ccurve.1 circuit.1 compass.1 coral.1 critical.1 \
crystal.1 cubenetic.1 cynosure.1 dangerball.1 decayscreen.1 deco.1 \
@@ -69,10 +69,16 @@ 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
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|malloc[.]h|stdlib.h|g' \
${WRKSRC}/hacks/glx/extrusion.c
@${REINPLACE_CMD} -e 's| ||' \
${WRKSRC}/hacks/glx/klein.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>