pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc "Update" lang/gcc3 to 3.3.2. This package is now a me...
details: https://anonhg.NetBSD.org/pkgsrc/rev/41ae3e2cdd3b
branches: trunk
changeset: 467490:41ae3e2cdd3b
user: jlam <jlam%pkgsrc.org@localhost>
date: Sun Feb 01 14:12:22 2004 +0000
description:
"Update" lang/gcc3 to 3.3.2. This package is now a meta-package for
lang/gcc3-*.
diffstat:
doc/CHANGES | 3 +-
lang/gcc3/DESCR | 16 +---
lang/gcc3/MESSAGE | 8 --
lang/gcc3/Makefile | 154 +++++---------------------------------------
lang/gcc3/PLIST | 4 +-
lang/gcc3/buildlink2.mk | 60 -----------------
lang/gcc3/distinfo | 9 --
lang/gcc3/files/gcc3.mk | 10 --
lang/gcc3/patches/patch-aa | 16 ----
lang/gcc3/patches/patch-ab | 12 ---
lang/gcc3/patches/patch-ae | 9 --
lang/gcc3/patches/patch-af | 18 -----
lang/gcc3/patches/patch-ag | 13 ---
13 files changed, 26 insertions(+), 306 deletions(-)
diffs (truncated from 401 to 300 lines):
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b doc/CHANGES
--- a/doc/CHANGES Sun Feb 01 14:11:01 2004 +0000
+++ b/doc/CHANGES Sun Feb 01 14:12:22 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4658 2004/02/01 11:08:51 jmmv Exp $
+$NetBSD: CHANGES,v 1.4659 2004/02/01 14:13:19 jlam Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -543,3 +543,4 @@
Updated gpart to 0.1h [xtraeme 2004-01-31]
Updated tcl-otcl to 1.0a8nb2 [xtraeme 2004-01-31]
Updated xmms-mad to 0.5.5nb1 [jmmv 2004-02-01]
+ Updated gcc3 to 3.3.2 [jlam 2004-02-01]
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/DESCR
--- a/lang/gcc3/DESCR Sun Feb 01 14:11:01 2004 +0000
+++ b/lang/gcc3/DESCR Sun Feb 01 14:12:22 2004 +0000
@@ -1,14 +1,4 @@
-This directory contains the GNU Compiler Collection (GCC) version 3.3.
-It includes all of the support for compiling C, C++, Objective C, Fortran,
-Java, and Chill.
-
-The GNU Compiler Collection is free software. See the file COPYING for copying
-permission.
+The GNU Compiler Collection (GCC) version 3.x.
-See the file gcc.texi (together with other files that it includes) for
-installation and porting information. The file INSTALL contains a
-copy of the installation information, as plain ASCII.
-
-See the Bugs chapter of the GCC Manual for how to report bugs
-usefully. An online readable version of the manual is in the files
-gcc.info*.
+This is a meta package for the C, C++, Objective C, Fortran, and Java
+compilers.
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/MESSAGE
--- a/lang/gcc3/MESSAGE Sun Feb 01 14:11:01 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2003/07/04 16:11:57 seb Exp $
-
-To use ${PKGNAME} include
-"${PREFIX}/share/examples/${DISTNAME}/mk.conf"
-in your BSD style makefile.
-
-===========================================================================
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/Makefile
--- a/lang/gcc3/Makefile Sun Feb 01 14:11:01 2004 +0000
+++ b/lang/gcc3/Makefile Sun Feb 01 14:12:22 2004 +0000
@@ -1,143 +1,29 @@
-# $NetBSD: Makefile,v 1.48 2004/01/24 13:51:14 grant Exp $
-#
+# $NetBSD: Makefile,v 1.49 2004/02/01 14:12:22 jlam Exp $
-DISTNAME= gcc-3.3
-PKGREVISION= 6
-PKGNAME= ${DISTNAME:S/gcc/gcc3/}
-CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
-EXTRACT_SUFX= .tar.bz2
+GCC_VERSION= 3.3.2
+DISTNAME= gcc3-${GCC_VERSION}
+CATEGORIES= lang
+MASTER_SITES= # empty
+DISTFILES= # empty
-MAINTAINER= tech-pkg%NetBSD.org@localhost
-HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
-COMMENT= GNU Compiler Collection, version 3
-
-CONFLICTS+= gcc-3* pgcc-[0-9]*
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
+COMMENT= GNU Compiler Collection, v3
NOT_FOR_PLATFORM= Darwin-*-*
-USE_BUILDLINK2= YES
-USE_PKGINSTALL= YES
-USE_GNU_TOOLS+= make
-
-HAS_CONFIGURE= YES
-
-CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
-UNLIMIT_RESOURCES= datasize
-
-FILES_SUBST+= DISTNAME=${DISTNAME} GCC_PREFIX=${GCC_PREFIX}
-MESSAGE_SUBST+= DISTNAME=${DISTNAME}
-PLIST_SUBST+= DISTNAME=${DISTNAME}
-
-TEXINFO_REQD= 4.2
-
-.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= PKG_GCC3_JAVA
-
-INFO_DIR= ${GCC_PREFIX:S|^${PREFIX}/||}/info
-INFO_FILES= cpp.info g77.info gcc.info gccint.info cppinternals.info
-.if defined(PKG_GCC3_JAVA)
-INFO_FILES+= fastjar.info gcj.info
-.endif
-
-.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
-CONFIGURE_ARGS+= --host=${MACHINE_GNU_ARCH}--netbsdelf2.0
-PTHREAD_OPTS+= require native
-.include "../../mk/pthread.buildlink2.mk"
-CPPFLAGS+= -I${BUILDLINK_DIR}/include
-CFLAGS+= -I${BUILDLINK_DIR}/include
-.else
-CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM}
-.endif
-# java takes hours to build, so make it optional
-.if !defined(PKG_GCC3_JAVA)
-CONFIGURE_ARGS+= --enable-languages="c,c++,f77,objc,ada"
-.endif
+DEPENDS+= gcc3-c-${GCC_VERSION}:../../lang/gcc3-c
+DEPENDS+= gcc3-c++-${GCC_VERSION}:../../lang/gcc3-c++
+DEPENDS+= gcc3-f77-${GCC_VERSION}:../../lang/gcc3-f77
+DEPENDS+= gcc3-java-${GCC_VERSION}:../../lang/gcc3-java
+DEPENDS+= gcc3-objc-${GCC_VERSION}:../../lang/gcc3-objc
-.if ${OPSYS} == "NetBSD" && !defined(USE_BINUTILS)
-AS_VERSION!= ${AS} --version | ${AWK} '{ \
- split($$3, v, /[.]/); \
- printf "%02d%02d%02d%02d\n",v[1],v[2],v[3],v[4]; \
- exit; \
- }'
-USE_BINUTILS!= ${TEST} ${AS_VERSION} -lt 02130201 && echo YES || echo NO
-.endif
-
-.if defined(USE_BINUTILS) && ${USE_BINUTILS} == "YES"
-DEPENDS= binutils>=2.13.2.1:../../devel/binutils
-CONFIGURE_ARGS+= --with-as=${PREFIX}/${MACHINE_GNU_PLATFORM}/bin/as
-#. include "../../devel/binutils/buildlink2.mk"
-.endif
-
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "Linux"
-CONFIGURE_ARGS+= --enable-shared
-.else
-. if ${OPSYS} == "SunOS"
-CONFIGURE_ARGS+= --enable-shared
-. else
-CONFIGURE_ARGS+= --disable-shared
-. endif
-. if ${CC:M*gcc*} == ""
-ALL_TARGET= bootstrap
-. endif
-.endif
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= yes
+NO_BUILDLINK= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
-GCC_PREFIX= ${PREFIX}/${DISTNAME}
-GCC_VERSION= ${PKGVERSION:C|nb.*||}
-GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${GCC_VERSION}
-PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
-
-pre-configure:
- ${MKDIR} ${BUILD_DIRS}
- cd ${WRKSRC} && contrib/gcc_update --touch
-
-post-build:
- @${SED} ${FILES_SUBST_SED} ${FILESDIR}/gcc3.mk > ${WRKDIR}/gcc3.mk
-
-post-install:
-.if ${OPSYS} == "SunOS"
- -cd ${GCC_ARCHDIR}/include && ${RM} -f fixed && ${RMDIR} v7 v9
-.endif
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${DISTNAME}
- ${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${PREFIX}/share/examples/${DISTNAME}/mk.conf
- ${LN} -f ${GCC_PREFIX}/bin/gcc ${GCC_PREFIX}/bin/cc
-# ${LN} -f ${GCC_PREFIX}/bin/g77 ${GCC_PREFIX}/bin/f77
- ${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
- ${FIND} ${GCC_PREFIX} \( -type f -o -type l \) -print \
- | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \
- >> ${PLIST_SRC}
- ${FIND} ${GCC_PREFIX} -type d -print \
- | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
- >> ${PLIST_SRC}
+do-install: # empty
.include "../../mk/bsd.pkg.mk"
-
-# do not allow gcc to find libintl.h (or anything else) in ${LOCALBASE}.
-# if it can, it expects it can have libintl, and linking fails miserably.
-CFLAGS:= ${CFLAGS:S|-I${LOCALBASE}/include||}
-CPPFLAGS:= ${CPPFLAGS:S|-I${LOCALBASE}/include||}
-
-# Make bootstrap with compiler != gcc possible.
-CONFIGURE_ENV+= LDFLAGS="${_STRIPFLAG_CC}"
-MAKE_ENV+= GCC_PREFIX="${GCC_PREFIX}"
-
-# On NetBSD, the gcc-2.95.3 for:
-#
-# alpha
-#
-# have an optimization bug when compiling with -O2 that is tickled by:
-#
-# java/parse.o
-#
-# note that we don't override CFLAGS and CPPFLAGS because we want the
-# crosscompiled compiler to be build with optimization. This only
-# disables optimization for the stage 1 build.
-#
-.if ${OPSYS} == "NetBSD"
-. if ${MACHINE_ARCH} == "alpha"
-CONFIG_CFLAGS= ${CFLAGS:C/-O[0-9]*//g}
-CONFIG_CPPFLAGS= ${CPPFLAGS:C/-O[0-9]*//g}
-CONFIGURE_ENV+= CFLAGS="${CONFIG_CFLAGS}" CPPFLAGS="${CONFIG_CPPFLAGS}"
-. endif
-.endif
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/PLIST
--- a/lang/gcc3/PLIST Sun Feb 01 14:11:01 2004 +0000
+++ b/lang/gcc3/PLIST Sun Feb 01 14:12:22 2004 +0000
@@ -1,3 +1,1 @@
-@comment $NetBSD: PLIST,v 1.10 2003/07/13 13:16:04 grant Exp $
-share/examples/${DISTNAME}/mk.conf
-@dirrm share/examples/${DISTNAME}
+@comment $NetBSD: PLIST,v 1.11 2004/02/01 14:12:22 jlam Exp $
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/buildlink2.mk
--- a/lang/gcc3/buildlink2.mk Sun Feb 01 14:11:01 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.10 2004/02/01 02:11:06 jlam Exp $
-
-# Do not directly include this file in package Makefiles. It is
-# automatically included when required based on USE_GCC3.
-
-.if !defined(GCC3_BUILDLINK2_MK)
-GCC3_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= gcc
-BUILDLINK_DEPENDS.gcc?= gcc3>=${GCC_REQD}
-BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc3
-
-# Packages that link against gcc shared libraries need a full
-# dependency.
-#
-.if defined(USE_GCC_SHLIB)
-BUILDLINK_DEPMETHOD.gcc+= full
-.else
-BUILDLINK_DEPMETHOD.gcc?= build
-.endif
-
-BUILDLINK_PREFIX.gcc= ${LOCALBASE}
-BUILDLINK_WRAPPER_ENV+= \
- COMPILER_PATH="${BUILDLINK_DIR}/bin"; export COMPILER_PATH
-
-# These files are from gcc-3.3.
-BUILDLINK_FILES.gcc= ${_GCC_SUBPREFIX}include/c++/3.3/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}include/c++/3.3/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*/*/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/lib*.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/specs
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${MACHINE_GNU_PLATFORM}/include/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}${MACHINE_GNU_PLATFORM}/include/*/*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/lib-org-w3c-dom.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/lib-org-xml-sax.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libffi*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libfrtbegin.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libg2c.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libgcc_s.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libgcj.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libiberty.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libobjc.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libstdc++.*
-BUILDLINK_FILES.gcc+= ${_GCC_SUBPREFIX}lib/libsupc++.*
-
-BUILDLINK_TARGETS+= gcc-buildlink
-BUILDLINK_TARGETS+= libstdc++-buildlink-la
-
-gcc-buildlink: _BUILDLINK_USE
-
-libstdc++-buildlink-la:
- ${_PKG_SILENT}${_PKG_DEBUG} \
- lafile="${BUILDLINK_DIR}/lib/libstdc++.la"; \
- libpattern="/usr/lib/libstdc++.*"; \
- ${BUILDLINK_FAKE_LA}
-
-.endif # GCC3_BUILDLINK2_MK
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/distinfo
--- a/lang/gcc3/distinfo Sun Feb 01 14:11:01 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.12 2003/07/26 17:37:04 martin Exp $
-
-SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
-Size (gcc-3.3.tar.bz2) = 23447616 bytes
-SHA1 (patch-aa) = 9037d2504c5db6458494a18852d57c1ef5c9dcdb
-SHA1 (patch-ab) = 8e899db69149894e737e1f68372f3eef9c403635
-SHA1 (patch-ae) = e5dd184ca1b0c415215e82d0250469792a432741
-SHA1 (patch-af) = ee41c43dbb6e710a9399954793c6ff7c4274e515
-SHA1 (patch-ag) = 23fecd85ddca19a2c543827b60ea555ffbdcaa6c
diff -r 1be1d59e1a03 -r 41ae3e2cdd3b lang/gcc3/files/gcc3.mk
Home |
Main Index |
Thread Index |
Old Index