diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-12-11 16:51:40 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-12-11 16:51:40 +0000 |
commit | f7071289be2d314245dc8c3d0013173769f024c8 (patch) | |
tree | bbc0186087a6fa05a04df4b6ea70e4e0e06892cf | |
parent | d831818e69a7073e71d508ea658eb3a8cb95c888 (diff) | |
download | ports-f7071289be2d314245dc8c3d0013173769f024c8.tar.gz ports-f7071289be2d314245dc8c3d0013173769f024c8.zip |
Fix build on amd64 by disabling optimizations.
Reported by: bento
Notes
Notes:
svn path=/head/; revision=95623
-rw-r--r-- | x11/xscreensaver-gnome/Makefile | 10 |
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> |