From e25eae0ee09108f8b89d8dc0fb997268f4e81649 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 8 Jun 2006 01:27:27 +0000 Subject: 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. --- x11/qt3-libs/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11/qt3-libs') 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 -- cgit v1.2.3