Subject: pkg/21316: Updated package lang/gcc3 to 3.2.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <juan@xtraeme.unixbsd.org>
List: netbsd-bugs
Date: 04/25/2003 09:32:50
>Number: 21316
>Category: pkg
>Synopsis: Updated package lang/gcc3 to 3.2.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 25 07:35:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Juan RP
>Release: NetBSD 1.6R
>Organization:
Juan RP jrp@hispabsd.org
--
>Environment:
System: NetBSD Nocturno 1.6R NetBSD 1.6R (Nocturno) #0: Fri Apr 25 06:55:17 CEST 2003 juan@Nocturno:/home/juan/current/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:
gcc-3.2.3 is out!
I've applied the patches from Todd Vierling, which fix the
previous errors. Look the pr's by Todd pkg/21226 pkg/21227.
Changes:
2003-04-22 Release Manager
* GCC 3.2.3 Released.
2003-02-12 Marc Espie <espie@openbsd.org>
* config-ml.in: Propagate DESTDIR.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc3/Makefile,v
retrieving revision 1.9
diff -b -u -r1.9 Makefile
--- Makefile 2003/04/14 04:30:21 1.9
+++ Makefile 2003/04/25 07:27:21
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.9 2003/04/14 04:30:21 salo Exp $
#
-DISTNAME= gcc-3.2.2
+DISTNAME= gcc-3.2.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/}
@@ -9,8 +9,6 @@
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-
CONFLICTS+= pgcc-[0-9]*
NOT_FOR_PLATFORM= Darwin-*-*
@@ -23,6 +21,7 @@
CONFIGURE_ARGS= --host=${MACHINE_GNU_PLATFORM}
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
+CONFIGURE_ARGS+= --enable-threads
FILES_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV} GCC_PREFIX=${GCC_PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV}
@@ -51,8 +50,7 @@
pre-configure:
${MKDIR} ${BUILD_DIRS}
- ${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/gcc/c-gperf.h
- ${ECHO} "bogus" > ${WRKSRC}/gcc/cstamp-h.in
+ cd ${WRKSRC} && contrib/gcc_update --touch
post-build:
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
@@ -73,7 +71,8 @@
.include "../../mk/bsd.pkg.mk"
# Make bootstrap with compiler != gcc possible.
-LDFLAGS= ${_STRIPFLAG_CC}
+CONFIGURE_ENV+= LDFLAGS="${_STRIPFLAG_CC}"
+MAKE_ENV+= GCC_PREFIX="${GCC_PREFIX}"
# On NetBSD, the gcc-2.95.3 for:
#
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/gcc3/distinfo,v
retrieving revision 1.4
diff -b -u -r1.4 distinfo
--- distinfo 2003/04/14 04:30:21 1.4
+++ distinfo 2003/04/25 07:27:21
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.4 2003/04/14 04:30:21 salo Exp $
-SHA1 (gcc-3.2.2.tar.gz) = 152883d3e1f6190298cb7be43076abeaeac6c2a9
-Size (gcc-3.2.2.tar.gz) = 26664960 bytes
+SHA1 (gcc-3.2.3.tar.gz) = 5d79487e9db02ad2293f39042bf3fa4fa2f5a777
+Size (gcc-3.2.3.tar.gz) = 27235623 bytes
SHA1 (patch-aa) = 6e9e7eeb7e9ddc043eb2b7c3cb05e7b6112e813b
+SHA1 (patch-ab) = c5d7023257047c52fad595bd5ddee3641aaa142f
----
patch-ab
----
$NetBSD$
--- gcc/Makefile.in.orig Fri Apr 18 08:36:04 2003
+++ gcc/Makefile.in
@@ -1236,6 +1236,7 @@ c-semantics.o : c-semantics.c $(CONFIG_H
# Language-independent files.
DRIVER_DEFINES = \
+ -DLINK_LIBGCC_SPEC="\"%D $(RPATH_FLAG)$(GCC_PREFIX)/lib\"" \
-DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \
-DDEFAULT_TARGET_VERSION=\"$(version)\" \
>Release-Note:
>Audit-Trail:
>Unformatted: