diff options
author | minskim <minskim> | 2006-06-08 01:27:27 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-06-08 01:27:27 +0000 |
commit | e25eae0ee09108f8b89d8dc0fb997268f4e81649 (patch) | |
tree | 99183b85fd87c9b76cd7f1daf817099e7987c4a9 /x11 | |
parent | d472820bff06e236626efc423617c32c9c5c1525 (diff) | |
download | pkgsrc-e25eae0ee09108f8b89d8dc0fb997268f4e81649.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')
-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 |