diff options
author | minskim <minskim@pkgsrc.org> | 2006-06-08 01:27:27 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-06-08 01:27:27 +0000 |
commit | 999b34adae9e1b057226d6a2dde5b5895d5355fb (patch) | |
tree | 99183b85fd87c9b76cd7f1daf817099e7987c4a9 /x11/qt3-libs | |
parent | fd95c9bbf615cdf2eedd0353a77fe4d8fac25559 (diff) | |
download | pkgsrc-999b34adae9e1b057226d6a2dde5b5895d5355fb.tar.gz |
Set PKG_FAIL_REASON when a buggy gcc is used (Apple's gcc 4.0.0 yields
an internal compiler error). This addresses PR pkg/31877.
Diffstat (limited to 'x11/qt3-libs')
-rw-r--r-- | x11/qt3-libs/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/qt3-libs/Makefile b/x11/qt3-libs/Makefile index 2750e54c3bc..371542a991a 100644 --- a/x11/qt3-libs/Makefile +++ b/x11/qt3-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2006/04/22 09:22:17 rillig Exp $ +# $NetBSD: Makefile,v 1.53 2006/06/08 01:27:27 minskim Exp $ PKGNAME= qt3-libs-${QTVERSION} PKGREVISION= 1 @@ -13,6 +13,12 @@ LIBQT= ${WRKSRC}/lib/libqt-mt.la GCC_REQD+= 3.4 .endif +.include "../../mk/compiler.mk" +.if ${OPSYS} == "Darwin" && !empty(CC_VERSION:Mgcc-4.0.0) +PKG_FAIL_REASON= "Apple's gcc 4.0.0 yields an internal compiler error." +PKG_FAIL_REASON+= "Please update gcc to a later version." +.endif + .include "../../x11/qt3-libs/Makefile.common" BUILD_TARGET= sub-plugins |