aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-03-11 05:01:04 +0000
committerSteve Price <steve@FreeBSD.org>2001-03-11 05:01:04 +0000
commit0d5a0510ea42cb90289022a374b3bd9a01d411c3 (patch)
treea326bb0e8855087051ccc0f6dcae9cf4649144b4 /cad/qcad
parent81dbac7e07ad49e6b48b29763e26a1bc521257af (diff)
downloadports-0d5a0510ea42cb90289022a374b3bd9a01d411c3.tar.gz
ports-0d5a0510ea42cb90289022a374b3bd9a01d411c3.zip
Notes
Diffstat (limited to 'cad/qcad')
-rw-r--r--cad/qcad/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 8f5e50f9ae83..7d2da0e654c9 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -17,6 +17,12 @@ USE_XLIB= yes
USE_QT2= yes
MAKE_ENV= QTDIR="${X11BASE}"
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
@@ -37,4 +43,4 @@ do-install:
@${LN} -sf ${PREFIX}/share/doc/qcad ${PREFIX}/share/qcad/doc
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>