diff options
author | steve <steve@FreeBSD.org> | 2001-03-11 05:01:04 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-03-11 05:01:04 +0000 |
commit | b6679516f174616a60f3cfbe7498793c18658a65 (patch) | |
tree | cf9ac5c315197e72e665895d86207c2c5a1b87d6 /cad | |
parent | 57156ba907e0997b744cb722c78a0aa0f5cab004 (diff) | |
download | FreeBSD-ports-b6679516f174616a60f3cfbe7498793c18658a65.zip FreeBSD-ports-b6679516f174616a60f3cfbe7498793c18658a65.tar.gz |
Use '-O0' when compiling on the Alpha to avoid internal compiler errors.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/qcad/Makefile | 8 | ||||
-rw-r--r-- | cad/qcad2/Makefile | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile index 8f5e50f..7d2da0e 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> diff --git a/cad/qcad2/Makefile b/cad/qcad2/Makefile index 8f5e50f..7d2da0e 100644 --- a/cad/qcad2/Makefile +++ b/cad/qcad2/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> |