aboutsummaryrefslogtreecommitdiffstats
path: root/biology/xdrawchem
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-03-12 16:33:42 +0800
committertrevor <trevor@FreeBSD.org>2001-03-12 16:33:42 +0800
commit7becc2df921767b9743bf1cbd041cff99eee1bf7 (patch)
tree0875fd36ebad4f0528c8b3b51f88bc00be1bb9ac /biology/xdrawchem
parentae54ac7eeaffbae9c3b731b126bde3f91c6e76a1 (diff)
downloadfreebsd-ports-gnome-7becc2df921767b9743bf1cbd041cff99eee1bf7.tar.gz
freebsd-ports-gnome-7becc2df921767b9743bf1cbd041cff99eee1bf7.tar.zst
freebsd-ports-gnome-7becc2df921767b9743bf1cbd041cff99eee1bf7.zip
Force -O0 on the Alpha.
Submitted by: steve
Diffstat (limited to 'biology/xdrawchem')
-rw-r--r--biology/xdrawchem/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
index 61dfb6c52e98..56e4b85af25a 100644
--- a/biology/xdrawchem/Makefile
+++ b/biology/xdrawchem/Makefile
@@ -21,6 +21,12 @@ USE_QT2= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
pre-install:
${ECHO} bin/xdrawchem > ${PLIST}
cd ${WRKSRC}/ring && find -s . -type f | \
@@ -32,4 +38,4 @@ do-install:
@${MKDIR} ${PREFIX}/share/xdrawchem
${INSTALL_DATA} ${WRKSRC}/ring/* ${PREFIX}/share/xdrawchem
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>