summaryrefslogtreecommitdiff
path: root/x11/qt3-libs
diff options
context:
space:
mode:
authorminskim <minskim>2006-06-08 01:27:27 +0000
committerminskim <minskim>2006-06-08 01:27:27 +0000
commite25eae0ee09108f8b89d8dc0fb997268f4e81649 (patch)
tree99183b85fd87c9b76cd7f1daf817099e7987c4a9 /x11/qt3-libs
parentd472820bff06e236626efc423617c32c9c5c1525 (diff)
downloadpkgsrc-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/qt3-libs')
-rw-r--r--x11/qt3-libs/Makefile8
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