diff options
author | steve <steve@FreeBSD.org> | 2001-03-11 13:01:04 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-03-11 13:01:04 +0800 |
commit | b6679516f174616a60f3cfbe7498793c18658a65 (patch) | |
tree | cf9ac5c315197e72e665895d86207c2c5a1b87d6 /devel/qtez | |
parent | 57156ba907e0997b744cb722c78a0aa0f5cab004 (diff) | |
download | freebsd-ports-graphics-b6679516f174616a60f3cfbe7498793c18658a65.tar.gz freebsd-ports-graphics-b6679516f174616a60f3cfbe7498793c18658a65.tar.zst freebsd-ports-graphics-b6679516f174616a60f3cfbe7498793c18658a65.zip |
Use '-O0' when compiling on the Alpha to avoid internal compiler errors.
Diffstat (limited to 'devel/qtez')
-rw-r--r-- | devel/qtez/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/qtez/Makefile b/devel/qtez/Makefile index 5aca4e046fb..690348437df 100644 --- a/devel/qtez/Makefile +++ b/devel/qtez/Makefile @@ -25,6 +25,12 @@ CONFIGURE_ENV= QTDIR="${X11BASE}" MOC="${X11BASE}/bin/moc2" \ CONFIGURE_ARGS= --disable-shared MAKE_ENV= QTEZ="${X11BASE}/share/qtez" +.include <bsd.port.pre.mk> + +.if ${MACHINE_ARCH} == "alpha" +CFLAGS+= -O0 +.endif + post-patch: @find ${WRKSRC} -name "Makefile.am" | xargs ${PERL} -pi -e \ 's|\@DEBUG\@|\@CXXFLAGS\@ \@DEBUG\@|g' @@ -35,4 +41,4 @@ pre-configure: post-install: @${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |