pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Add a hack to require gcc 3.4 on NetBSD/s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2aa20491fa6
branches:  trunk
changeset: 498231:d2aa20491fa6
user:      jdc <jdc%pkgsrc.org@localhost>
date:      Wed Aug 17 06:26:18 2005 +0000

description:
Add a hack to require gcc 3.4 on NetBSD/sparc.

diffstat:

 x11/qt3-libs/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r b5ddd851e145 -r d2aa20491fa6 x11/qt3-libs/Makefile
--- a/x11/qt3-libs/Makefile     Wed Aug 17 03:31:05 2005 +0000
+++ b/x11/qt3-libs/Makefile     Wed Aug 17 06:26:18 2005 +0000
@@ -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 @@
 MAINTAINER=            adam%NetBSD.org@localhost
 COMMENT=               C++ X GUI toolkit
 
-GCC_REQD+=             2.95.3
-
 BUILD_TARGET=          sub-plugins
 
 PTHREAD_OPTS+=         require
@@ -34,7 +40,6 @@
        ${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."



Home | Main Index | Thread Index | Old Index