aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-03-11 13:01:04 +0800
committersteve <steve@FreeBSD.org>2001-03-11 13:01:04 +0800
commitb6679516f174616a60f3cfbe7498793c18658a65 (patch)
treecf9ac5c315197e72e665895d86207c2c5a1b87d6 /audio
parent57156ba907e0997b744cb722c78a0aa0f5cab004 (diff)
downloadfreebsd-ports-gnome-b6679516f174616a60f3cfbe7498793c18658a65.tar.gz
freebsd-ports-gnome-b6679516f174616a60f3cfbe7498793c18658a65.tar.zst
freebsd-ports-gnome-b6679516f174616a60f3cfbe7498793c18658a65.zip
Use '-O0' when compiling on the Alpha to avoid internal compiler errors.
Diffstat (limited to 'audio')
-rw-r--r--audio/xsidplay/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile
index 781e26f78bd3..19e5f8123993 100644
--- a/audio/xsidplay/Makefile
+++ b/audio/xsidplay/Makefile
@@ -30,7 +30,13 @@ CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2 \
--with-x-includes=${X11BASE}/include \
--with-x-libraries=${X11BASE}/lib
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>