pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt1 This package build fine with gcc3, don't insis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abe6e01b25dd
branches:  trunk
changeset: 471241:abe6e01b25dd
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Mon Mar 22 15:06:52 2004 +0000

description:
This package build fine with gcc3, don't insist on using egcs on SunOS.
This package use c++.

diffstat:

 x11/qt1/Makefile         |   8 ++------
 x11/qt1/distinfo         |   4 ++--
 x11/qt1/patches/patch-ac |  17 +++--------------
 3 files changed, 7 insertions(+), 22 deletions(-)

diffs (83 lines):

diff -r 6872b3c0d977 -r abe6e01b25dd x11/qt1/Makefile
--- a/x11/qt1/Makefile  Mon Mar 22 13:57:01 2004 +0000
+++ b/x11/qt1/Makefile  Mon Mar 22 15:06:52 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/24 15:30:33 grant Exp $
+# $NetBSD: Makefile,v 1.14 2004/03/22 15:06:52 bouyer Exp $
 #
 
 DISTNAME=      qt-1.44
@@ -14,6 +14,7 @@
 USE_BUILDLINK2=        yes
 USE_X11BASE=   yes
 USE_GNU_TOOLS+=        make
+USE_LANGUAGES= c c++
 USE_LIBTOOL=   yes
 
 QTPREFIX=${PREFIX}/qt1
@@ -24,11 +25,6 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "SunOS"
-DEPENDS+=      egcs-1.1.2:../../lang/egcs
-CXX=           ${LOCALBASE}/egcs/bin/g++
-.endif
-
 do-configure:
        @cd ${WRKSRC} && ${MAKE} QTDIR=${WRKSRC} ${LOWER_OPSYS}-g++-static
 
diff -r 6872b3c0d977 -r abe6e01b25dd x11/qt1/distinfo
--- a/x11/qt1/distinfo  Mon Mar 22 13:57:01 2004 +0000
+++ b/x11/qt1/distinfo  Mon Mar 22 15:06:52 2004 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2003/12/19 23:00:26 agc Exp $
+$NetBSD: distinfo,v 1.5 2004/03/22 15:06:52 bouyer Exp $
 
 SHA1 (qt-1.44.tar.gz) = 08848fe5534bb210b151a1d9f3480fe83c0053c1
 Size (qt-1.44.tar.gz) = 2659999 bytes
 SHA1 (patch-aa) = b94f2fadee75696e0afb98cd2d0839d991f98573
 SHA1 (patch-ab) = 76d0ac60cd386518b5d8a48d15552abc5c8737ef
-SHA1 (patch-ac) = 5554b60c0f4cbd13ea2fde8fcb8c287e8ac8b651
+SHA1 (patch-ac) = ffc97fce918d66d8581bfd6d307322d57fa23904
 SHA1 (patch-ad) = cee971069a2f41219c14669ee5b4e1687d445dd8
 SHA1 (patch-ae) = cef04901bf46e4511fafe08a9d7eee975ceae320
diff -r 6872b3c0d977 -r abe6e01b25dd x11/qt1/patches/patch-ac
--- a/x11/qt1/patches/patch-ac  Mon Mar 22 13:57:01 2004 +0000
+++ b/x11/qt1/patches/patch-ac  Mon Mar 22 15:06:52 2004 +0000
@@ -1,11 +1,10 @@
-$NetBSD: patch-ac,v 1.5 2001/05/01 16:43:40 jlam Exp $
+$NetBSD: patch-ac,v 1.6 2004/03/22 15:06:52 bouyer Exp $
 
 --- configs/solaris-g++-static.orig    Fri Feb 26 12:02:12 1999
 +++ configs/solaris-g++-static
 @@ -1,30 +1,31 @@
  # Compiling
--SYSCONF_CXX           = g++
-+SYSCONF_CXX           = ${LOCALBASE}/egcs/bin/g++
+ SYSCONF_CXX           = g++
 +SYSCONF_CXX_LIB               = $(LIBTOOL) --mode=compile ${SYSCONF_CXX}
  
  # Compiling with support libraries
@@ -36,20 +35,10 @@
  SYSCONF_LIBS_YACC     = 
  
  # Linking applications
--SYSCONF_LINK          = g++
-+SYSCONF_LINK          = ${LOCALBASE}/egcs/bin/g++
+ SYSCONF_LINK          = g++
  SYSCONF_LFLAGS                = 
  SYSCONF_LIBS          = 
  
-@@ -39,7 +40,7 @@
- #   - Place target in $(DESTDIR) - which has a trailing /
- #   - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
- #
--SYSCONF_LINK_SHLIB    = g++
-+SYSCONF_LINK_SHLIB    = ${LOCALBASE}/egcs/bin/g++
- SYSCONF_LINK_TARGET_SHARED    = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN)
- SYSCONF_LINK_LIB_SHARED       =  $(SYSCONF_LINK_SHLIB) -h $(TARGET1) -shared  \
-                                    $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \
 @@ -54,15 +55,15 @@
  #   - Build the $(TARGET) library, eg. lib$(TARGET).a
  #   - Place target in $(DESTDIR) - which has a trailing /



Home | Main Index | Thread Index | Old Index