summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjdc <jdc@pkgsrc.org>2005-08-17 06:26:18 +0000
committerjdc <jdc@pkgsrc.org>2005-08-17 06:26:18 +0000
commit01f16c5dbe62238f4c18412165255cf816968961 (patch)
treee5315dd8fdb60756273828e804c222edc80f52a8 /x11
parent0ff1d8d76fc6542fcb6cd5a56969094545b3127c (diff)
downloadpkgsrc-01f16c5dbe62238f4c18412165255cf816968961.tar.gz
Add a hack to require gcc 3.4 on NetBSD/sparc.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt3-libs/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/x11/qt3-libs/Makefile b/x11/qt3-libs/Makefile
index bd742040056..9bb1e39ecf8 100644
--- a/x11/qt3-libs/Makefile
+++ b/x11/qt3-libs/Makefile
@@ -1,7 +1,15 @@
-# $NetBSD: Makefile,v 1.38 2005/07/01 04:24:12 reed Exp $
+# $NetBSD: Makefile,v 1.39 2005/08/17 06:26:18 jdc Exp $
LIBQT= ${WRKSRC}/lib/libqt-mt.la
+.include "../../mk/bsd.prefs.mk"
+# XXX: hack - work round an ICE with GCC 3.3 on sparc
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
+GCC_REQD+= 3.4
+.else
+GCC_REQD+= 2.95.3
+.endif
+
.include "../qt3-libs/Makefile.common"
PKGNAME= qt3-libs-${QTVERSION}
@@ -9,8 +17,6 @@ PKGREVISION= 4
MAINTAINER= adam@NetBSD.org
COMMENT= C++ X GUI toolkit
-GCC_REQD+= 2.95.3
-
BUILD_TARGET= sub-plugins
PTHREAD_OPTS+= require
@@ -34,7 +40,6 @@ do-install:
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqjpeg.la ${QTPREFIX}/plugins/imageformats/
${LIBTOOL} ${INSTALL_LIB} ${WRKSRC}/plugins/imageformats/libqmng.la ${QTPREFIX}/plugins/imageformats/
-.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin" && empty(MACHINE_PLATFORM:MDarwin-[567].*)
SUBST_CLASSES+= socklen
SUBST_MESSAGE.socklen= "Correcting socklen_t."