some cleanup:

-USE_NEW_TEXINFO, saves some patches
-symlink libiberty.a into build tree instead of buildlink/lib,
 saves some patches
-put common make rules into Makefile.common (for all) and
 buildaddon.mk (for all but the base "c" pkg)
This commit is contained in:
drochner 2003-07-08 15:04:53 +00:00
parent 86fb2139bc
commit 7497ad9c29
42 changed files with 3341 additions and 4024 deletions

View file

@ -1,65 +1,15 @@
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:58 grant Exp $
# $NetBSD: Makefile,v 1.3 2003/07/08 15:04:53 drochner Exp $
#
DISTNAME= gcc-3.3
PKGNAME= gcc3-ada-3.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX= .tar.bz2
COMMENT= GNU Compiler Collection, Ada compiler
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
NOT_FOR_PLATFORM= Darwin-*-*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
CONFIGURE_ARGS+= --enable-languages="ada"
# as this is named gcc3, use DISTNAME instead.
FILES_SUBST+= PKGNAME_NOREV=${DISTNAME} GCC_PREFIX=${GCC_PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${DISTNAME}
TEXINFO_REQD= 4.2
INFO_FILES= gnat_ug_unx.info gnat_ug_vms.info gnat_ug_vxw.info
INFO_FILES= gnat_ug_wnt.info gnat_rm.info gnat-style.info
INFO_FILES+= gnat_ug_wnt.info gnat_rm.info gnat-style.info
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM= ${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
GCC_PLATFORM= ${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+= --host=${GCC_PLATFORM}
PLIST_SUBST+= GCC_PLATFORM=${GCC_PLATFORM}
.include "../../lang/gcc3-c/buildaddon.mk"
.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
GCC_PREFIX= ${PREFIX}/gcc3
GCC_VERSION= ${PKGVERSION:C|nb*||}
GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
CONFIGURE_ARGS+= --enable-languages="ada"
#
# Bootstrap section. Define something to make the pkg usable.
@ -116,18 +66,14 @@ ONLY_FOR_PLATFORM= sorry_need_ada_compiler
# End of bootstrap section
#
pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch
post-configure:
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
${TEST} -f ${WRKSRC}/gcc/ada/Makefile \
|| ${FALSE} # no ada bootstrap found by configure
.if defined(ADA_BOOT) # ??? see install notes
(cd ${WRKSRC}/gcc/ada && ${TOUCH} treeprs.ads [es]info.h nmake.ad[bs])
.endif
do-build:
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h)
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} ada)
# XXX avoid some VPATH related lossage
(cd ${WRKSRC}/gcc/ada && ${MV} targtyps.o targtyps.o.sav)
@ -139,7 +85,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gcc/gnat1 ${GCC_ARCHDIR}
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} \
ada.install-common ada.install-info install-gnatlib)
${RM} -f ${GCC_ARCHDIR}/adalib/lib*.so
.include "../../lang/gcc3-c/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,6 @@
$NetBSD: distinfo,v 1.1 2003/07/06 12:15:03 drochner Exp $
$NetBSD: distinfo,v 1.2 2003/07/08 15:04:54 drochner Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
SHA1 (patch-aa) = d52683aa45749ac357549d356abe42537288f352
SHA1 (patch-ab) = d2f4bf95eaf58e1b388771f1bc2d2083c9dcf514
SHA1 (patch-aa) = 541cd543720cccc24aa60b9ac26cfa6143e7e5d4
SHA1 (patch-ad) = 80fead3fdfba3f93a89a7294b45f9633454d35fb
SHA1 (patch-ae) = d60c2372df5afd9430d240a00aa5d3f4f586560e

View file

@ -1,24 +1,7 @@
$NetBSD: patch-aa,v 1.1 2003/07/06 12:15:04 drochner Exp $
$NetBSD: patch-aa,v 1.2 2003/07/08 15:04:54 drochner Exp $
--- Makefile.in.orig 2003-05-14 02:18:14.000000000 +0200
+++ Makefile.in 2003-07-03 18:02:24.000000000 +0200
@@ -153,11 +153,11 @@
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
- else if (makeinfo --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
- then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+#MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
+# then echo $$r/texinfo/makeinfo/makeinfo ; \
+# else if (makeinfo --version \
+# | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
+# then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
@@ -1642,9 +1642,9 @@
install-dosrel-fake:

View file

@ -1,37 +0,0 @@
$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:04 drochner Exp $
--- gcc/Makefile.in.orig 2003-04-22 17:50:48.000000000 +0200
+++ gcc/Makefile.in 2003-07-03 17:21:34.000000000 +0200
@@ -617,8 +617,8 @@
# Build and host support libraries. FORBUILD is either
# .. or ../$(build_alias) depending on whether host != build.
-LIBIBERTY = ../libiberty/libiberty.a
-BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
+BUILD_LIBIBERTY = ${prefix}/lib/libiberty.a
# Dependencies on the intl and portability libraries.
LIBDEPS= $(INTLDEPS) $(LIBIBERTY)
@@ -1273,6 +1273,7 @@
# 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)\" \
@@ -2874,11 +2875,11 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \

View file

@ -1,30 +0,0 @@
$NetBSD: patch-ae,v 1.1 2003/07/06 12:15:06 drochner Exp $
--- gcc/ada/Makefile.in.orig 2003-03-27 22:48:10.000000000 +0100
+++ gcc/ada/Makefile.in 2003-07-06 13:06:33.000000000 +0200
@@ -183,6 +183,8 @@
#version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < $(srcdir)/version.c`
#mainversion=`sed -e 's/.*\"\([0-9]*\.[0-9]*\).*/\1/' < $(srcdir)/version.c`
+prefix = @prefix@
+
# Directory where sources are, from where we are.
srcdir = @srcdir@
VPATH = @srcdir@
@@ -242,14 +244,14 @@
ALL_CPPFLAGS = $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
# This is where we get libiberty.a from.
-LIBIBERTY = ../../libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
# How to link with both our special library facilities
# and the system's installed libraries.
LIBS = $(INTLLIBS) $(LIBIBERTY) $(SYSLIBS)
LIBDEPS = $(INTLDEPS) $(LIBIBERTY)
TOOLS_LIBS = ../../prefix.o ../../version.o $(LIBGNAT) \
- ../../../libiberty/libiberty.a $(SYSLIBS)
+ ${prefix}/lib/libiberty.a $(SYSLIBS)
# Specify the directories to be searched for header files.
# Both . and srcdir are used, in that order,

View file

@ -1,7 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2003/07/06 12:15:09 drochner Exp $
$NetBSD: MESSAGE,v 1.2 2003/07/08 15:04:58 drochner Exp $
To use ${PKGNAME} include "${PREFIX}/share/examples/gcc/mk.conf" in your
To use ${PKGNAME} include "${GCC_PREFIX}/mk/c++.mk" in your
BSD style makefile.
===========================================================================

View file

@ -1,68 +1,14 @@
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:58 grant Exp $
# $NetBSD: Makefile,v 1.3 2003/07/08 15:04:59 drochner Exp $
#
DISTNAME= gcc-3.3
PKGNAME= gcc3-c++-3.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX= .tar.bz2
COMMENT= GNU Compiler Collection, c++ Compiler
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
.include "../gcc3-c/buildaddon.mk"
NOT_FOR_PLATFORM= Darwin-*-*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
CONFIGURE_ARGS+= --enable-languages="c++"
# as this is named gcc3, use DISTNAME instead.
FILES_SUBST+= PKGNAME_NOREV=${DISTNAME} GCC_PREFIX=${GCC_PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${DISTNAME}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM= ${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
GCC_PLATFORM= ${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+= --host=${GCC_PLATFORM}
PLIST_SUBST+= GCC_PLATFORM=${GCC_PLATFORM}
.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
GCC_PREFIX= ${PREFIX}/gcc3
GCC_VERSION= ${PKGVERSION:C|nb*||}
GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch
do-build:
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} c++)
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} g++)
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libstdc++-v3)
@ -78,8 +24,6 @@ do-install:
install-target-libstdc++-v3)
post-install:
${INSTALL_DATA} ${WRKDIR}/gcc3.mk \
${PREFIX}/share/examples/gcc/mk-g++.conf
${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${GCC_PREFIX}/mk/c++.mk
.include "../../lang/gcc3-c/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,208 +1,208 @@
@comment $NetBSD: PLIST,v 1.1 2003/07/06 12:15:09 drochner Exp $
gcc3/bin/c++
gcc3/bin/g++
gcc3/bin/${GCC_PLATFORM}-c++
gcc3/bin/${GCC_PLATFORM}-g++
gcc3/include/c++/${PKGVERSION}/algorithm
gcc3/include/c++/${PKGVERSION}/backward/algo.h
gcc3/include/c++/${PKGVERSION}/backward/algobase.h
gcc3/include/c++/${PKGVERSION}/backward/alloc.h
gcc3/include/c++/${PKGVERSION}/backward/backward_warning.h
gcc3/include/c++/${PKGVERSION}/backward/bvector.h
gcc3/include/c++/${PKGVERSION}/backward/complex.h
gcc3/include/c++/${PKGVERSION}/backward/defalloc.h
gcc3/include/c++/${PKGVERSION}/backward/deque.h
gcc3/include/c++/${PKGVERSION}/backward/fstream.h
gcc3/include/c++/${PKGVERSION}/backward/function.h
gcc3/include/c++/${PKGVERSION}/backward/hash_map.h
gcc3/include/c++/${PKGVERSION}/backward/hash_set.h
gcc3/include/c++/${PKGVERSION}/backward/hashtable.h
gcc3/include/c++/${PKGVERSION}/backward/heap.h
gcc3/include/c++/${PKGVERSION}/backward/iomanip.h
gcc3/include/c++/${PKGVERSION}/backward/iostream.h
gcc3/include/c++/${PKGVERSION}/backward/istream.h
gcc3/include/c++/${PKGVERSION}/backward/iterator.h
gcc3/include/c++/${PKGVERSION}/backward/list.h
gcc3/include/c++/${PKGVERSION}/backward/map.h
gcc3/include/c++/${PKGVERSION}/backward/multimap.h
gcc3/include/c++/${PKGVERSION}/backward/multiset.h
gcc3/include/c++/${PKGVERSION}/backward/new.h
gcc3/include/c++/${PKGVERSION}/backward/ostream.h
gcc3/include/c++/${PKGVERSION}/backward/pair.h
gcc3/include/c++/${PKGVERSION}/backward/queue.h
gcc3/include/c++/${PKGVERSION}/backward/rope.h
gcc3/include/c++/${PKGVERSION}/backward/set.h
gcc3/include/c++/${PKGVERSION}/backward/slist.h
gcc3/include/c++/${PKGVERSION}/backward/stack.h
gcc3/include/c++/${PKGVERSION}/backward/stream.h
gcc3/include/c++/${PKGVERSION}/backward/streambuf.h
gcc3/include/c++/${PKGVERSION}/backward/strstream
gcc3/include/c++/${PKGVERSION}/backward/tempbuf.h
gcc3/include/c++/${PKGVERSION}/backward/tree.h
gcc3/include/c++/${PKGVERSION}/backward/vector.h
gcc3/include/c++/${PKGVERSION}/bits/basic_ios.h
gcc3/include/c++/${PKGVERSION}/bits/basic_ios.tcc
gcc3/include/c++/${PKGVERSION}/bits/basic_string.h
gcc3/include/c++/${PKGVERSION}/bits/basic_string.tcc
gcc3/include/c++/${PKGVERSION}/bits/boost_concept_check.h
gcc3/include/c++/${PKGVERSION}/bits/char_traits.h
gcc3/include/c++/${PKGVERSION}/bits/cmath.tcc
gcc3/include/c++/${PKGVERSION}/bits/codecvt.h
gcc3/include/c++/${PKGVERSION}/bits/concept_check.h
gcc3/include/c++/${PKGVERSION}/bits/cpp_type_traits.h
gcc3/include/c++/${PKGVERSION}/bits/deque.tcc
gcc3/include/c++/${PKGVERSION}/bits/fpos.h
gcc3/include/c++/${PKGVERSION}/bits/fstream.tcc
gcc3/include/c++/${PKGVERSION}/bits/functexcept.h
gcc3/include/c++/${PKGVERSION}/bits/gslice.h
gcc3/include/c++/${PKGVERSION}/bits/gslice_array.h
gcc3/include/c++/${PKGVERSION}/bits/indirect_array.h
gcc3/include/c++/${PKGVERSION}/bits/ios_base.h
gcc3/include/c++/${PKGVERSION}/bits/istream.tcc
gcc3/include/c++/${PKGVERSION}/bits/list.tcc
gcc3/include/c++/${PKGVERSION}/bits/locale_classes.h
gcc3/include/c++/${PKGVERSION}/bits/locale_facets.h
gcc3/include/c++/${PKGVERSION}/bits/locale_facets.tcc
gcc3/include/c++/${PKGVERSION}/bits/localefwd.h
gcc3/include/c++/${PKGVERSION}/bits/mask_array.h
gcc3/include/c++/${PKGVERSION}/bits/ostream.tcc
gcc3/include/c++/${PKGVERSION}/bits/pthread_allocimpl.h
gcc3/include/c++/${PKGVERSION}/bits/slice_array.h
gcc3/include/c++/${PKGVERSION}/bits/sstream.tcc
gcc3/include/c++/${PKGVERSION}/bits/stl_algo.h
gcc3/include/c++/${PKGVERSION}/bits/stl_algobase.h
gcc3/include/c++/${PKGVERSION}/bits/stl_alloc.h
gcc3/include/c++/${PKGVERSION}/bits/stl_bvector.h
gcc3/include/c++/${PKGVERSION}/bits/stl_construct.h
gcc3/include/c++/${PKGVERSION}/bits/stl_deque.h
gcc3/include/c++/${PKGVERSION}/bits/stl_function.h
gcc3/include/c++/${PKGVERSION}/bits/stl_heap.h
gcc3/include/c++/${PKGVERSION}/bits/stl_iterator.h
gcc3/include/c++/${PKGVERSION}/bits/stl_iterator_base_funcs.h
gcc3/include/c++/${PKGVERSION}/bits/stl_iterator_base_types.h
gcc3/include/c++/${PKGVERSION}/bits/stl_list.h
gcc3/include/c++/${PKGVERSION}/bits/stl_map.h
gcc3/include/c++/${PKGVERSION}/bits/stl_multimap.h
gcc3/include/c++/${PKGVERSION}/bits/stl_multiset.h
gcc3/include/c++/${PKGVERSION}/bits/stl_numeric.h
gcc3/include/c++/${PKGVERSION}/bits/stl_pair.h
gcc3/include/c++/${PKGVERSION}/bits/stl_pthread_alloc.h
gcc3/include/c++/${PKGVERSION}/bits/stl_queue.h
gcc3/include/c++/${PKGVERSION}/bits/stl_raw_storage_iter.h
gcc3/include/c++/${PKGVERSION}/bits/stl_relops.h
gcc3/include/c++/${PKGVERSION}/bits/stl_set.h
gcc3/include/c++/${PKGVERSION}/bits/stl_stack.h
gcc3/include/c++/${PKGVERSION}/bits/stl_tempbuf.h
gcc3/include/c++/${PKGVERSION}/bits/stl_threads.h
gcc3/include/c++/${PKGVERSION}/bits/stl_tree.h
gcc3/include/c++/${PKGVERSION}/bits/stl_uninitialized.h
gcc3/include/c++/${PKGVERSION}/bits/stl_vector.h
gcc3/include/c++/${PKGVERSION}/bits/stream_iterator.h
gcc3/include/c++/${PKGVERSION}/bits/streambuf.tcc
gcc3/include/c++/${PKGVERSION}/bits/streambuf_iterator.h
gcc3/include/c++/${PKGVERSION}/bits/stringfwd.h
gcc3/include/c++/${PKGVERSION}/bits/type_traits.h
gcc3/include/c++/${PKGVERSION}/bits/valarray_array.h
gcc3/include/c++/${PKGVERSION}/bits/valarray_array.tcc
gcc3/include/c++/${PKGVERSION}/bits/valarray_meta.h
gcc3/include/c++/${PKGVERSION}/bits/vector.tcc
gcc3/include/c++/${PKGVERSION}/bitset
gcc3/include/c++/${PKGVERSION}/cassert
gcc3/include/c++/${PKGVERSION}/cctype
gcc3/include/c++/${PKGVERSION}/cerrno
gcc3/include/c++/${PKGVERSION}/cfloat
gcc3/include/c++/${PKGVERSION}/ciso646
gcc3/include/c++/${PKGVERSION}/climits
gcc3/include/c++/${PKGVERSION}/clocale
gcc3/include/c++/${PKGVERSION}/cmath
gcc3/include/c++/${PKGVERSION}/complex
gcc3/include/c++/${PKGVERSION}/csetjmp
gcc3/include/c++/${PKGVERSION}/csignal
gcc3/include/c++/${PKGVERSION}/cstdarg
gcc3/include/c++/${PKGVERSION}/cstddef
gcc3/include/c++/${PKGVERSION}/cstdio
gcc3/include/c++/${PKGVERSION}/cstdlib
gcc3/include/c++/${PKGVERSION}/cstring
gcc3/include/c++/${PKGVERSION}/ctime
gcc3/include/c++/${PKGVERSION}/cwchar
gcc3/include/c++/${PKGVERSION}/cwctype
gcc3/include/c++/${PKGVERSION}/cxxabi.h
gcc3/include/c++/${PKGVERSION}/deque
gcc3/include/c++/${PKGVERSION}/exception
gcc3/include/c++/${PKGVERSION}/exception_defines.h
gcc3/include/c++/${PKGVERSION}/ext/algorithm
gcc3/include/c++/${PKGVERSION}/ext/enc_filebuf.h
gcc3/include/c++/${PKGVERSION}/ext/functional
gcc3/include/c++/${PKGVERSION}/ext/hash_map
gcc3/include/c++/${PKGVERSION}/ext/hash_set
gcc3/include/c++/${PKGVERSION}/ext/iterator
gcc3/include/c++/${PKGVERSION}/ext/memory
gcc3/include/c++/${PKGVERSION}/ext/numeric
gcc3/include/c++/${PKGVERSION}/ext/rb_tree
gcc3/include/c++/${PKGVERSION}/ext/rope
gcc3/include/c++/${PKGVERSION}/ext/ropeimpl.h
gcc3/include/c++/${PKGVERSION}/ext/slist
gcc3/include/c++/${PKGVERSION}/ext/stdio_filebuf.h
gcc3/include/c++/${PKGVERSION}/ext/stl_hash_fun.h
gcc3/include/c++/${PKGVERSION}/ext/stl_hashtable.h
gcc3/include/c++/${PKGVERSION}/ext/stl_rope.h
gcc3/include/c++/${PKGVERSION}/fstream
gcc3/include/c++/${PKGVERSION}/functional
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/atomicity.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/basic_file.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/c++config.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/c++io.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/c++locale.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/codecvt_specializations.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/ctype_base.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/ctype_inline.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/ctype_noninline.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr-default.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr-posix.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr-single.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/messages_members.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/os_defines.h
gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/time_members.h
gcc3/include/c++/${PKGVERSION}/iomanip
gcc3/include/c++/${PKGVERSION}/ios
gcc3/include/c++/${PKGVERSION}/iosfwd
gcc3/include/c++/${PKGVERSION}/iostream
gcc3/include/c++/${PKGVERSION}/istream
gcc3/include/c++/${PKGVERSION}/iterator
gcc3/include/c++/${PKGVERSION}/limits
gcc3/include/c++/${PKGVERSION}/list
gcc3/include/c++/${PKGVERSION}/locale
gcc3/include/c++/${PKGVERSION}/map
gcc3/include/c++/${PKGVERSION}/memory
gcc3/include/c++/${PKGVERSION}/new
gcc3/include/c++/${PKGVERSION}/numeric
gcc3/include/c++/${PKGVERSION}/ostream
gcc3/include/c++/${PKGVERSION}/queue
gcc3/include/c++/${PKGVERSION}/set
gcc3/include/c++/${PKGVERSION}/sstream
gcc3/include/c++/${PKGVERSION}/stack
gcc3/include/c++/${PKGVERSION}/stdexcept
gcc3/include/c++/${PKGVERSION}/streambuf
gcc3/include/c++/${PKGVERSION}/string
gcc3/include/c++/${PKGVERSION}/typeinfo
gcc3/include/c++/${PKGVERSION}/utility
gcc3/include/c++/${PKGVERSION}/valarray
gcc3/include/c++/${PKGVERSION}/vector
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/cc1plus
gcc3/lib/libstdc++.a
gcc3/lib/libstdc++.la
gcc3/lib/libstdc++.so
gcc3/lib/libstdc++.so.5
gcc3/lib/libstdc++.so.5.4
gcc3/lib/libsupc++.a
gcc3/lib/libsupc++.la
gcc3/man/man1/g++.1
share/examples/gcc/mk-g++.conf
@dirrm gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits
@dirrm gcc3/include/c++/${PKGVERSION}/${GCC_PLATFORM}
@dirrm gcc3/include/c++/${PKGVERSION}/ext
@dirrm gcc3/include/c++/${PKGVERSION}/bits
@dirrm gcc3/include/c++/${PKGVERSION}/backward
@dirrm gcc3/include/c++/${PKGVERSION}
@dirrm gcc3/include/c++
@comment $NetBSD: PLIST,v 1.2 2003/07/08 15:04:59 drochner Exp $
${GCC_SUBPREFIX}/bin/c++
${GCC_SUBPREFIX}/bin/g++
${GCC_SUBPREFIX}/bin/${GCC_PLATFORM}-c++
${GCC_SUBPREFIX}/bin/${GCC_PLATFORM}-g++
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/algorithm
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/algo.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/algobase.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/alloc.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/backward_warning.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/bvector.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/complex.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/defalloc.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/deque.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/fstream.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/function.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/hash_map.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/hash_set.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/hashtable.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/heap.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/iomanip.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/iostream.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/istream.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/iterator.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/list.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/map.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/multimap.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/multiset.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/new.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/ostream.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/pair.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/queue.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/rope.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/set.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/slist.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/stack.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/stream.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/streambuf.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/strstream
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/tempbuf.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/tree.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward/vector.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/basic_ios.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/basic_ios.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/basic_string.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/basic_string.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/boost_concept_check.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/char_traits.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/cmath.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/codecvt.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/concept_check.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/cpp_type_traits.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/deque.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/fpos.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/fstream.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/functexcept.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/gslice.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/gslice_array.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/indirect_array.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/ios_base.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/istream.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/list.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/locale_classes.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/locale_facets.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/locale_facets.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/localefwd.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/mask_array.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/ostream.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/pthread_allocimpl.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/slice_array.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/sstream.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_algo.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_algobase.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_alloc.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_bvector.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_construct.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_deque.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_function.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_heap.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_iterator.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_iterator_base_funcs.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_iterator_base_types.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_list.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_map.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_multimap.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_multiset.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_numeric.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_pair.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_pthread_alloc.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_queue.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_raw_storage_iter.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_relops.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_set.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_stack.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_tempbuf.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_threads.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_tree.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_uninitialized.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stl_vector.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stream_iterator.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/streambuf.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/streambuf_iterator.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/stringfwd.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/type_traits.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/valarray_array.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/valarray_array.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/valarray_meta.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits/vector.tcc
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bitset
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cassert
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cctype
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cerrno
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cfloat
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ciso646
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/climits
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/clocale
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cmath
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/complex
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/csetjmp
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/csignal
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cstdarg
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cstddef
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cstdio
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cstdlib
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cstring
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ctime
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cwchar
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cwctype
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/cxxabi.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/deque
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/exception
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/exception_defines.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/algorithm
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/enc_filebuf.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/functional
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/hash_map
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/hash_set
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/iterator
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/memory
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/numeric
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/rb_tree
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/rope
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/ropeimpl.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/slist
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/stdio_filebuf.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/stl_hash_fun.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/stl_hashtable.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext/stl_rope.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/fstream
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/functional
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/atomicity.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/basic_file.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/c++config.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/c++io.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/c++locale.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/codecvt_specializations.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/ctype_base.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/ctype_inline.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/ctype_noninline.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr-default.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr-posix.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr-single.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/gthr.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/messages_members.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/os_defines.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits/time_members.h
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/iomanip
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ios
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/iosfwd
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/iostream
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/istream
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/iterator
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/limits
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/list
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/locale
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/map
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/memory
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/new
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/numeric
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ostream
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/queue
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/set
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/sstream
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/stack
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/stdexcept
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/streambuf
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/string
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/typeinfo
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/utility
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/valarray
${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/vector
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/cc1plus
${GCC_SUBPREFIX}/lib/libstdc++.a
${GCC_SUBPREFIX}/lib/libstdc++.la
${GCC_SUBPREFIX}/lib/libstdc++.so
${GCC_SUBPREFIX}/lib/libstdc++.so.5
${GCC_SUBPREFIX}/lib/libstdc++.so.5.4
${GCC_SUBPREFIX}/lib/libsupc++.a
${GCC_SUBPREFIX}/lib/libsupc++.la
${GCC_SUBPREFIX}/man/man1/g++.1
${GCC_SUBPREFIX}/mk/c++.mk
@dirrm ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}/bits
@dirrm ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/${GCC_PLATFORM}
@dirrm ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/ext
@dirrm ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/bits
@dirrm ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}/backward
@dirrm ${GCC_SUBPREFIX}/include/c++/${PKGVERSION}
@dirrm ${GCC_SUBPREFIX}/include/c++

View file

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.1 2003/07/06 12:15:09 drochner Exp $
$NetBSD: distinfo,v 1.2 2003/07/08 15:04:59 drochner Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
SHA1 (patch-aa) = 8fa1df757be692bf314f91f168ff28f03a47ceae
SHA1 (patch-ab) = d2f4bf95eaf58e1b388771f1bc2d2083c9dcf514
SHA1 (patch-aa) = 93a4299e7d64b91f750ba96c75f0487cdf87abea

View file

@ -1,6 +1,6 @@
# $NetBSD: gcc3.mk,v 1.1 2003/07/06 12:15:09 drochner Exp $
# $NetBSD: gcc3.mk,v 1.2 2003/07/08 15:04:59 drochner Exp $
#
# make configuration file for @PKGNAME_NOREV@
# make configuration file for @PKGNAME@
USE_GCC3= # defined
CC= @GCC_PREFIX@/bin/cc

View file

@ -1,24 +1,7 @@
$NetBSD: patch-aa,v 1.1 2003/07/06 12:15:09 drochner Exp $
$NetBSD: patch-aa,v 1.2 2003/07/08 15:05:00 drochner Exp $
--- Makefile.in.orig 2003-05-14 02:18:14.000000000 +0200
+++ Makefile.in 2003-07-03 23:14:35.000000000 +0200
@@ -153,11 +153,11 @@
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
- else if (makeinfo --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
- then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+#MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
+# then echo $$r/texinfo/makeinfo/makeinfo ; \
+# else if (makeinfo --version \
+# | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
+# then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
@@ -1642,8 +1642,8 @@
install-dosrel-fake:

View file

@ -1,37 +0,0 @@
$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:10 drochner Exp $
--- gcc/Makefile.in.orig 2003-04-22 17:50:48.000000000 +0200
+++ gcc/Makefile.in 2003-07-03 17:21:34.000000000 +0200
@@ -617,8 +617,8 @@
# Build and host support libraries. FORBUILD is either
# .. or ../$(build_alias) depending on whether host != build.
-LIBIBERTY = ../libiberty/libiberty.a
-BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
+BUILD_LIBIBERTY = ${prefix}/lib/libiberty.a
# Dependencies on the intl and portability libraries.
LIBDEPS= $(INTLDEPS) $(LIBIBERTY)
@@ -1273,6 +1273,7 @@
# 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)\" \
@@ -2874,11 +2875,11 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \

View file

@ -1,7 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2003/07/06 12:15:06 drochner Exp $
$NetBSD: MESSAGE,v 1.2 2003/07/08 15:04:56 drochner Exp $
To use ${PKGNAME} include "${PREFIX}/share/examples/gcc/mk.conf" in your
To use ${PKGNAME} include "${GCC_PREFIX}/mk/c.mk" in your
BSD style makefile.
===========================================================================

View file

@ -1,86 +1,17 @@
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:58 grant Exp $
# $NetBSD: Makefile,v 1.3 2003/07/08 15:04:56 drochner Exp $
#
DISTNAME= gcc-3.3
PKGNAME= gcc3-c-3.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX= .tar.bz2
PKGNAME= gcc3-c-${GCC_VERSION}
COMMENT= GNU Compiler Collection, C compiler
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
INFO_FILES= cpp.info gcc.info gccint.info cppinternals.info
# XXX just because of .info files
#CONFLICTS+= gcc-3* pgcc-[0-9]* gcc3-[0-9]*
.include "Makefile.common"
NOT_FOR_PLATFORM= Darwin-*-*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
# as this is named gcc3, use DISTNAME instead.
FILES_SUBST+= PKGNAME_NOREV=${DISTNAME} GCC_PREFIX=${GCC_PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${DISTNAME}
TEXINFO_REQD= 4.2
INFO_FILES= cpp.info gcc.info
.include "../../mk/bsd.prefs.mk"
.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
CONFIGURE_ARGS+= --enable-languages="c"
.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
GCC_PREFIX= ${PREFIX}/gcc3
GCC_VERSION= ${PKGVERSION:C|nb*||}
GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${GCC_VERSION}
# the "gcc" frontend knows all languages (by patch)
CONFIGURE_ARGS+= --enable-languages=c
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
@ -88,8 +19,8 @@ post-install:
.if ${OPSYS} == "SunOS"
-cd ${GCC_ARCHDIR}/include && ${RM} -f fixed && ${RMDIR} v7 v9
.endif
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gcc
${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${PREFIX}/share/examples/gcc/mk.conf
${INSTALL_DATA_DIR} ${GCC_PREFIX}/mk
${INSTALL_DATA} ${WRKDIR}/gcc3.mk ${GCC_PREFIX}/mk/c.mk
${LN} -f ${GCC_PREFIX}/bin/gcc ${GCC_PREFIX}/bin/cc
${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
${FIND} ${GCC_PREFIX} \( -type f -o -type l \) -print \
@ -99,9 +30,4 @@ post-install:
| ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \
>> ${PLIST_SRC}
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
# Make bootstrap with compiler != gcc possible.
CONFIGURE_ENV+= LDFLAGS="${_STRIPFLAG_CC}"
MAKE_ENV+= GCC_PREFIX="${GCC_PREFIX}"

View file

@ -0,0 +1,87 @@
# $NetBSD: Makefile.common,v 1.1 2003/07/08 15:04:56 drochner Exp $
#
GCC_VERSION= 3.3
DISTNAME= gcc-${GCC_VERSION}
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_VERSION}/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
NOT_FOR_PLATFORM= Darwin-*-*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
.include "../../mk/bsd.prefs.mk"
# Make location overridable, to allow ping-pong bootstraps.
GCC3_DEFAULT_SUBPREFIX= gcc3
GCC3_INSTALLTO_SUBPREFIX?= ${GCC3_DEFAULT_SUBPREFIX}
GCC_SUBPREFIX= ${GCC3_INSTALLTO_SUBPREFIX}
GCC_PREFIX= ${PREFIX}/${GCC_SUBPREFIX}
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
PLIST_SUBST+= GCC_SUBPREFIX=${GCC_SUBPREFIX}
FILES_SUBST+= GCC_PREFIX=${GCC_PREFIX}
FILES_SUBST+= PKGNAME=${PKGNAME}
MESSAGE_SUBST+= GCC_PREFIX=${GCC_PREFIX}
.if defined(INFO_FILES)
USE_NEW_TEXINFO= yes
INFO_DIR= ${GCC_SUBPREFIX}/info
.include "../../mk/texinfo.mk"
.endif
# Support threads and building of crt*.o on post-1.6 -current.
# Use buildlink to avoid a GNU pth package.
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM= ${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
GCC_PLATFORM= ${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+= --host=${GCC_PLATFORM}
PLIST_SUBST+= GCC_PLATFORM=${GCC_PLATFORM}
.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
GCC_ARCHSUBDIR= ${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
GCC_ARCHDIR= ${PREFIX}/${GCC_ARCHSUBDIR}
pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch

View file

@ -1,15 +1 @@
@comment $NetBSD: PLIST,v 1.1 2003/07/06 12:15:07 drochner Exp $
@unexec ${INSTALL_INFO} --delete %D/info/cpp.info %D/info/dir
info/cpp.info
@exec ${INSTALL_INFO} %D/info/cpp.info %D/info/dir
@unexec ${INSTALL_INFO} --delete %D/info/gcc.info %D/info/dir
info/gcc.info
@exec ${INSTALL_INFO} %D/info/gcc.info %D/info/dir
@unexec ${INSTALL_INFO} --delete %D/info/gccint.info %D/info/dir
info/gccint.info
@exec ${INSTALL_INFO} %D/info/gccint.info %D/info/dir
@unexec ${INSTALL_INFO} --delete %D/info/cppinternals.info %D/info/dir
info/cppinternals.info
@exec ${INSTALL_INFO} %D/info/cppinternals.info %D/info/dir
share/examples/gcc/mk.conf
@dirrm share/examples/gcc
@comment $NetBSD: PLIST,v 1.2 2003/07/08 15:04:56 drochner Exp $

27
lang/gcc3-c/buildaddon.mk Normal file
View file

@ -0,0 +1,27 @@
# $NetBSD: buildaddon.mk,v 1.1 2003/07/08 15:04:56 drochner Exp $
.include "../../lang/gcc3-c/Makefile.common"
pre-build:
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h)
${LN} -sf ${GCC_PREFIX}/lib/libiberty.a ${WRKSRC}/libiberty
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
BUILDLINK_DEPENDS.gcc3c?= gcc3-c-3.3
BUILDLINK_PKGSRCDIR.gcc3c?= ../../lang/gcc3-c
BUILDLINK_PREFIX.gcc3c= ${LOCALBASE}
BUILDLINK_PACKAGES+= gcc3c
BUILDLINK_FILES.gcc3c+= ${GCC_ARCHSUBDIR}/include/*
BUILDLINK_FILES.gcc3c+= ${GCC_ARCHSUBDIR}/include/*/*
BUILDLINK_FILES.gcc3c+= ${GCC_ARCHSUBDIR}/include/*/*/*
BUILDLINK_FILES.gcc3c+= ${GCC_ARCHSUBDIR}/include/*/*/*/*
BUILDLINK_FILES.gcc3c+= ${GCC_ARCHSUBDIR}/libgcc.a
BUILDLINK_FILES.gcc3c+= ${GCC_ARCHSUBDIR}/libgcc_eh.a
BUILDLINK_FILES.gcc3c+= ${GCC_SUBPREFIX}/lib/libgcc_s.*
BUILDLINK_TARGETS+= gcc3c-buildlink
gcc3c-buildlink: _BUILDLINK_USE

View file

@ -1,35 +0,0 @@
# $NetBSD: buildlink2.mk,v 1.1 2003/07/06 12:15:07 drochner Exp $
.if !defined(GCC3_C_BUILDLINK2_MK)
GCC3_C_BUILDLINK2_MK= # defined
BUILDLINK_DEPENDS.gcc3c?= gcc3-c-3.3
BUILDLINK_PKGSRCDIR.gcc3c?= ../../lang/gcc3-c
BUILDLINK_PREFIX.gcc3c= ${LOCALBASE}
_GCC_SUBPREFIX= gcc3/
_GCC_PREFIX= ${BUILDLINK_PREFIX.gcc3c}/${_GCC_SUBPREFIX}
_GCC_LIBGCCDIR!= \
dirname `${_GCC_PREFIX}bin/gcc --print-libgcc-file-name`
_GCC_ARCHSUBDIR= \
${_GCC_LIBGCCDIR:S|^${BUILDLINK_PREFIX.gcc3c}/${_GCC_SUBPREFIX}||}
_GCC_ARCHDIR= ${_GCC_PREFIX}${_GCC_ARCHSUBDIR}
BUILDLINK_PACKAGES+= gcc3c
# These files are from gcc-3.3.
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*/*
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*/*/*
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/include/*/*/*/*
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/lib*.*
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}${_GCC_ARCHSUBDIR}/specs
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}lib/libgcc_s.*
BUILDLINK_FILES.gcc3c+= ${_GCC_SUBPREFIX}lib/libiberty.*
BUILDLINK_TARGETS+= gcc3c-buildlink
gcc3c-buildlink: _BUILDLINK_USE
.endif # GCC3_C_BUILDLINK2_MK

View file

@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.1 2003/07/06 12:15:07 drochner Exp $
$NetBSD: distinfo,v 1.2 2003/07/08 15:04:57 drochner Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
SHA1 (patch-aa) = 029b1f58f75f3a28b69894dfc87e5fa5eab257d9
SHA1 (patch-ab) = 3cb04098b3d97b1da9d24d64197dcea2771c9624
SHA1 (patch-ab) = 8e899db69149894e737e1f68372f3eef9c403635
SHA1 (patch-ae) = e5dd184ca1b0c415215e82d0250469792a432741
SHA1 (patch-ai) = bb9f4975769cd104b25b4609a1d4c888bb147bb1

View file

@ -1,10 +1,7 @@
# $NetBSD: gcc3.mk,v 1.1 2003/07/06 12:15:08 drochner Exp $
# $NetBSD: gcc3.mk,v 1.2 2003/07/08 15:04:57 drochner Exp $
#
# make configuration file for @PKGNAME_NOREV@
# make configuration file for @PKGNAME@
USE_GCC3= # defined
CC= @GCC_PREFIX@/bin/cc
CPP= @GCC_PREFIX@/bin/cpp
CXX= @GCC_PREFIX@/bin/c++
F77= @GCC_PREFIX@/bin/g77
PKG_FC= @GCC_PREFIX@/bin/g77

View file

@ -1,21 +0,0 @@
$NetBSD: patch-aa,v 1.1 2003/07/06 12:15:08 drochner Exp $
--- Makefile.in.orig Wed May 14 10:18:14 2003
+++ Makefile.in
@@ -153,11 +153,11 @@ M4 = `if [ -f $$r/m4/m4 ] ; \
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
- else if (makeinfo --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
- then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+#MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
+# then echo $$r/texinfo/makeinfo/makeinfo ; \
+# else if (makeinfo --version \
+# | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
+# then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:08 drochner Exp $
$NetBSD: patch-ab,v 1.2 2003/07/08 15:04:58 drochner Exp $
--- gcc/Makefile.in.orig Tue Jan 28 16:54:07 2003
+++ gcc/Makefile.in Sat May 24 13:01:38 2003
@ -10,17 +10,3 @@ $NetBSD: patch-ab,v 1.1 2003/07/06 12:15:08 drochner Exp $
-DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \
-DDEFAULT_TARGET_VERSION=\"$(version)\" \
@@ -2662,11 +2663,11 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \

View file

@ -1,7 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2003/07/06 12:15:10 drochner Exp $
$NetBSD: MESSAGE,v 1.2 2003/07/08 15:05:00 drochner Exp $
To use ${PKGNAME} include "${PREFIX}/share/examples/gcc/mk.conf" in your
To use ${PKGNAME} include "${GCC_PREFIX}/mk/f77.mk" in your
BSD style makefile.
===========================================================================

View file

@ -1,71 +1,16 @@
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:58 grant Exp $
# $NetBSD: Makefile,v 1.3 2003/07/08 15:05:00 drochner Exp $
#
DISTNAME= gcc-3.3
PKGNAME= gcc3-f77-3.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX= .tar.bz2
COMMENT= GNU Compiler Collection, f77 Compiler
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
NOT_FOR_PLATFORM= Darwin-*-*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
CONFIGURE_ARGS+= --enable-languages="f77"
# as this is named gcc3, use DISTNAME instead.
FILES_SUBST+= PKGNAME_NOREV=${DISTNAME} GCC_PREFIX=${GCC_PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${DISTNAME}
TEXINFO_REQD= 4.2
INFO_FILES= g77.info
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM= ${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
GCC_PLATFORM= ${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+= --host=${GCC_PLATFORM}
PLIST_SUBST+= GCC_PLATFORM=${GCC_PLATFORM}
.include "../gcc3-c/buildaddon.mk"
.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
GCC_PREFIX= ${PREFIX}/gcc3
GCC_VERSION= ${PKGVERSION:C|nb*||}
GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch
CONFIGURE_ARGS+= --enable-languages="f77"
do-build:
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} f77)
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} g77)
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libf2c)
@ -82,9 +27,7 @@ do-install:
post-install:
${INSTALL_DATA} ${WRKDIR}/gcc3.mk \
${PREFIX}/share/examples/gcc/mk-g77.conf
${GCC_PREFIX}/mk/f77.mk
# ${LN} -f ${GCC_PREFIX}/bin/g77 ${GCC_PREFIX}/bin/f77
.include "../../lang/gcc3-c/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,13 +1,12 @@
@comment $NetBSD: PLIST,v 1.1 2003/07/06 12:15:10 drochner Exp $
gcc3/bin/g77
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/f771
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/g2c.h
gcc3/lib/libfrtbegin.a
gcc3/lib/libg2c.a
gcc3/lib/libg2c.la
gcc3/lib/libg2c.so
gcc3/lib/libg2c.so.0
gcc3/lib/libg2c.so.0.0
gcc3/man/man1/g77.1
info/g77.info
share/examples/gcc/mk-g77.conf
@comment $NetBSD: PLIST,v 1.2 2003/07/08 15:05:00 drochner Exp $
${GCC_SUBPREFIX}/bin/g77
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/f771
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/g2c.h
${GCC_SUBPREFIX}/lib/libfrtbegin.a
${GCC_SUBPREFIX}/lib/libg2c.a
${GCC_SUBPREFIX}/lib/libg2c.la
${GCC_SUBPREFIX}/lib/libg2c.so
${GCC_SUBPREFIX}/lib/libg2c.so.0
${GCC_SUBPREFIX}/lib/libg2c.so.0.0
${GCC_SUBPREFIX}/man/man1/g77.1
${GCC_SUBPREFIX}/mk/f77.mk

View file

@ -1,7 +1,5 @@
$NetBSD: distinfo,v 1.1 2003/07/06 12:15:10 drochner Exp $
$NetBSD: distinfo,v 1.2 2003/07/08 15:05:00 drochner Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
SHA1 (patch-aa) = d52683aa45749ac357549d356abe42537288f352
SHA1 (patch-ab) = d2f4bf95eaf58e1b388771f1bc2d2083c9dcf514
SHA1 (patch-ac) = 1bd470366c793bfb12895e365ac4e9f3e5fda101
SHA1 (patch-aa) = 541cd543720cccc24aa60b9ac26cfa6143e7e5d4

View file

@ -1,6 +1,6 @@
# $NetBSD: gcc3.mk,v 1.1 2003/07/06 12:15:10 drochner Exp $
# $NetBSD: gcc3.mk,v 1.2 2003/07/08 15:05:00 drochner Exp $
#
# make configuration file for @PKGNAME_NOREV@
# make configuration file for @PKGNAME@
USE_GCC3= # defined
F77= @GCC_PREFIX@/bin/g77

View file

@ -1,24 +1,7 @@
$NetBSD: patch-aa,v 1.1 2003/07/06 12:15:11 drochner Exp $
$NetBSD: patch-aa,v 1.2 2003/07/08 15:05:01 drochner Exp $
--- Makefile.in.orig 2003-05-14 02:18:14.000000000 +0200
+++ Makefile.in 2003-07-03 18:02:24.000000000 +0200
@@ -153,11 +153,11 @@
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
- else if (makeinfo --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
- then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+#MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
+# then echo $$r/texinfo/makeinfo/makeinfo ; \
+# else if (makeinfo --version \
+# | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
+# then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
@@ -1642,9 +1642,9 @@
install-dosrel-fake:

View file

@ -1,37 +0,0 @@
$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:11 drochner Exp $
--- gcc/Makefile.in.orig 2003-04-22 17:50:48.000000000 +0200
+++ gcc/Makefile.in 2003-07-03 17:21:34.000000000 +0200
@@ -617,8 +617,8 @@
# Build and host support libraries. FORBUILD is either
# .. or ../$(build_alias) depending on whether host != build.
-LIBIBERTY = ../libiberty/libiberty.a
-BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
+BUILD_LIBIBERTY = ${prefix}/lib/libiberty.a
# Dependencies on the intl and portability libraries.
LIBDEPS= $(INTLDEPS) $(LIBIBERTY)
@@ -1273,6 +1273,7 @@
# 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)\" \
@@ -2874,11 +2875,11 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \

View file

@ -1,30 +0,0 @@
$NetBSD: patch-ac,v 1.1 2003/07/06 12:15:11 drochner Exp $
--- gcc/f/Make-lang.in.orig Sat May 24 12:59:15 2003
+++ gcc/f/Make-lang.in Sat May 24 13:00:08 2003
@@ -277,9 +277,9 @@
chmod a-x $(DESTDIR)$(infodir)/g77.info*; \
else true; fi
@if [ -f $(srcdir)/f/g77.info ] ; then \
- if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
+ if $(SHELL) -c '${INSTALL_INFO} --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ echo " ${INSTALL_INFO} --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
+ ${INSTALL_INFO} --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
else : ; fi; \
else : ; fi
@@ -297,9 +297,9 @@
else true; fi
f77.uninstall: installdirs
- if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
- echo " install-info --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
- install-info --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
+ if $(SHELL) -c '${INSTALL_INFO} --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+ echo " ${INSTALL_INFO} --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
+ ${INSTALL_INFO} --delete --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
else : ; fi
rm -rf $(DESTDIR)$(bindir)/$(G77_INSTALL_NAME)$(exeext); \
rm -rf $(DESTDIR)$(bindir)/$(G77_CROSS_NAME)$(exeext); \

View file

@ -1,71 +1,20 @@
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:59 grant Exp $
# $NetBSD: Makefile,v 1.3 2003/07/08 15:05:02 drochner Exp $
#
DISTNAME= gcc-3.3
PKGNAME= gcc3-java-3.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
NOT_FOR_PLATFORM= Darwin-*-*
DEPENDS+= gcc3-c++-3.3:../../lang/gcc3-c++
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
CONFIGURE_ARGS+= --enable-languages="java"
CONFIGURE_ARGS+= --with-system-zlib
UNLIMIT_RESOURCES= datasize
TEXINFO_REQD= 4.2
COMMENT= GNU Compiler Collection, Java compiler
INFO_FILES= gcj.info
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM= ${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
GCC_PLATFORM= ${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+= --host=${GCC_PLATFORM}
PLIST_SUBST+= GCC_PLATFORM=${GCC_PLATFORM}
.include "../../lang/gcc3-c/buildaddon.mk"
.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
GCC_PREFIX= ${PREFIX}/gcc3
GCC_VERSION= ${PKGVERSION:C|nb*||}
GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch
BUILD_DEPENDS+= gcc3-c++-3.3:../../lang/gcc3-c++
CONFIGURE_ARGS+= --enable-languages="java"
CONFIGURE_ARGS+= --with-system-zlib
# done manually in do-build
#UNLIMIT_RESOURCES= datasize
do-build:
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
(cd ${WRKSRC}/gcc && ${GMAKE} java)
(${ULIMIT_CMD_datasize}; cd ${WRKSRC} && ${GMAKE} all-target-libjava)
@ -79,9 +28,7 @@ do-install:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
install-target-libjava)
.include "../../lang/gcc3-c/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
# On NetBSD, the gcc-2.95.3 for:

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,5 @@
$NetBSD: distinfo,v 1.1 2003/07/06 12:15:11 drochner Exp $
$NetBSD: distinfo,v 1.2 2003/07/08 15:05:02 drochner Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
SHA1 (patch-aa) = 8d13ed421fef8278455030b537144b4c92081227
SHA1 (patch-ab) = d2f4bf95eaf58e1b388771f1bc2d2083c9dcf514
SHA1 (patch-ad) = b4023140daf745d613b26909247bdf9e4066c8a4
SHA1 (patch-aa) = e79f24237d3ece987065b84987a95eb8abc7ded7

View file

@ -1,24 +1,7 @@
$NetBSD: patch-aa,v 1.1 2003/07/06 12:15:12 drochner Exp $
$NetBSD: patch-aa,v 1.2 2003/07/08 15:05:02 drochner Exp $
--- Makefile.in.orig 2003-05-14 02:18:14.000000000 +0200
+++ Makefile.in 2003-07-03 19:41:59.000000000 +0200
@@ -153,11 +153,11 @@
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
- else if (makeinfo --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
- then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+#MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
+# then echo $$r/texinfo/makeinfo/makeinfo ; \
+# else if (makeinfo --version \
+# | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
+# then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
@@ -1642,9 +1642,9 @@
install-dosrel-fake:

View file

@ -1,37 +0,0 @@
$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:12 drochner Exp $
--- gcc/Makefile.in.orig 2003-04-22 17:50:48.000000000 +0200
+++ gcc/Makefile.in 2003-07-03 17:21:34.000000000 +0200
@@ -617,8 +617,8 @@
# Build and host support libraries. FORBUILD is either
# .. or ../$(build_alias) depending on whether host != build.
-LIBIBERTY = ../libiberty/libiberty.a
-BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
+BUILD_LIBIBERTY = ${prefix}/lib/libiberty.a
# Dependencies on the intl and portability libraries.
LIBDEPS= $(INTLDEPS) $(LIBIBERTY)
@@ -1273,6 +1273,7 @@
# 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)\" \
@@ -2874,11 +2875,11 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \

View file

@ -1,15 +0,0 @@
$NetBSD: patch-ad,v 1.1 2003/07/06 12:15:12 drochner Exp $
--- gcc/java/Make-lang.in.orig Sat May 24 13:53:25 2003
+++ gcc/java/Make-lang.in Sat May 24 13:53:47 2003
@@ -207,8 +207,8 @@
else true; fi; \
else true; fi
-if [ -f jc1$(exeext) ] && [ -f $(DESTDIR)$(infodir)/gcj.info ]; then \
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/gcj.info; \
+ if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/gcj.info; \
else true; fi; \
else true; fi

View file

@ -1,66 +1,14 @@
# $NetBSD: Makefile,v 1.2 2003/07/06 12:31:59 grant Exp $
# $NetBSD: Makefile,v 1.3 2003/07/08 15:05:03 drochner Exp $
#
DISTNAME= gcc-3.3
PKGNAME= gcc3-objc-3.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/}
EXTRACT_SUFX= .tar.bz2
COMMENT= GNU Compiler Collection, objc Compiler
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://www.gnu.org/software/gcc/gcc.html
COMMENT= GNU Compiler Collection
.include "../gcc3-c/buildaddon.mk"
NOT_FOR_PLATFORM= Darwin-*-*
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
USE_GMAKE= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --prefix=${GCC_PREFIX}
CONFIGURE_ARGS+= --enable-languages="objc"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD" && exists(/usr/include/pthread.h)
GCC_PLATFORM= ${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
GCC_PLATFORM= ${MACHINE_GNU_PLATFORM}
.endif
CONFIGURE_ARGS+= --host=${GCC_PLATFORM}
PLIST_SUBST+= GCC_PLATFORM=${GCC_PLATFORM}
.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
# as this is named gcc3, use DISTNAME instead.
GCC_PREFIX= ${PREFIX}/gcc3
GCC_VERSION= ${PKGVERSION:C|nb*||}
GCC_ARCHDIR= ${GCC_PREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${GCC_VERSION}
pre-configure:
${MKDIR} ${BUILD_DIRS}
cd ${WRKSRC} && contrib/gcc_update --touch
do-build:
${LN} -sf ${GCC_PREFIX}/bin/gcc ${WRKSRC}/gcc/xgcc
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} tconfig.h)
(cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} objc)
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libobjc)
@ -69,5 +17,4 @@ do-install:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
install-target-libobjc)
.include "../../lang/gcc3-c/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,19 +1,19 @@
@comment $NetBSD: PLIST,v 1.1 2003/07/06 12:15:12 drochner Exp $
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/cc1obj
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/NXConstStr.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/Object.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/Protocol.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/encoding.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/hash.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/objc-api.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/objc-list.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/objc.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/sarray.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/thr.h
gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/typedstream.h
gcc3/lib/libobjc.a
gcc3/lib/libobjc.la
gcc3/lib/libobjc.so
gcc3/lib/libobjc.so.1
gcc3/lib/libobjc.so.1.0
@dirrm gcc3/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc
@comment $NetBSD: PLIST,v 1.2 2003/07/08 15:05:03 drochner Exp $
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/cc1obj
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/NXConstStr.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/Object.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/Protocol.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/encoding.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/hash.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/objc-api.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/objc-list.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/objc.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/sarray.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/thr.h
${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc/typedstream.h
${GCC_SUBPREFIX}/lib/libobjc.a
${GCC_SUBPREFIX}/lib/libobjc.la
${GCC_SUBPREFIX}/lib/libobjc.so
${GCC_SUBPREFIX}/lib/libobjc.so.1
${GCC_SUBPREFIX}/lib/libobjc.so.1.0
@dirrm ${GCC_SUBPREFIX}/lib/gcc-lib/${GCC_PLATFORM}/${PKGVERSION}/include/objc

View file

@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.1 2003/07/06 12:15:12 drochner Exp $
$NetBSD: distinfo,v 1.2 2003/07/08 15:05:03 drochner Exp $
SHA1 (gcc-3.3.tar.bz2) = 18e23822c6dc9cb462e0ff88bc1b8a20c53da60a
Size (gcc-3.3.tar.bz2) = 23447616 bytes
SHA1 (patch-aa) = d52683aa45749ac357549d356abe42537288f352
SHA1 (patch-ab) = d2f4bf95eaf58e1b388771f1bc2d2083c9dcf514
SHA1 (patch-aa) = 541cd543720cccc24aa60b9ac26cfa6143e7e5d4

View file

@ -1,24 +1,7 @@
$NetBSD: patch-aa,v 1.1 2003/07/06 12:15:13 drochner Exp $
$NetBSD: patch-aa,v 1.2 2003/07/08 15:05:03 drochner Exp $
--- Makefile.in.orig 2003-05-14 02:18:14.000000000 +0200
+++ Makefile.in 2003-07-03 18:02:24.000000000 +0200
@@ -153,11 +153,11 @@
# For an installed makeinfo, we require it to be from texinfo 4.2 or
# higher, else we use the "missing" dummy.
-MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
- then echo $$r/texinfo/makeinfo/makeinfo ; \
- else if (makeinfo --version \
- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
- then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+#MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
+# then echo $$r/texinfo/makeinfo/makeinfo ; \
+# else if (makeinfo --version \
+# | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
+# then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still
@@ -1642,9 +1642,9 @@
install-dosrel-fake:

View file

@ -1,37 +0,0 @@
$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:13 drochner Exp $
--- gcc/Makefile.in.orig 2003-04-22 17:50:48.000000000 +0200
+++ gcc/Makefile.in 2003-07-03 17:21:34.000000000 +0200
@@ -617,8 +617,8 @@
# Build and host support libraries. FORBUILD is either
# .. or ../$(build_alias) depending on whether host != build.
-LIBIBERTY = ../libiberty/libiberty.a
-BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
+LIBIBERTY = ${prefix}/lib/libiberty.a
+BUILD_LIBIBERTY = ${prefix}/lib/libiberty.a
# Dependencies on the intl and portability libraries.
LIBDEPS= $(INTLDEPS) $(LIBIBERTY)
@@ -1273,6 +1273,7 @@
# 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)\" \
@@ -2874,11 +2875,11 @@
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
done; \
else true; fi
- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
for f in cpp.info gcc.info gccint.info cppinternals.info; do \
if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
else true; fi; \
done; \
else true; fi; \