diff options
author | dholland <dholland@pkgsrc.org> | 2012-12-31 03:20:12 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-12-31 03:20:12 +0000 |
commit | 53911951059ff1eaeba7b59088f2872eb35227e8 (patch) | |
tree | c41feacb34a4cbc10b74ca579ad284f58abcc53a /lang/gcc34 | |
parent | a3ba027a9dc6daa21434a93789df4f4aea36de0a (diff) | |
download | pkgsrc-53911951059ff1eaeba7b59088f2872eb35227e8.tar.gz |
Remove leftover references to gcc3-ada and gcc34-ada.
Diffstat (limited to 'lang/gcc34')
-rw-r--r-- | lang/gcc34/README | 15 | ||||
-rw-r--r-- | lang/gcc34/options.mk | 30 |
2 files changed, 14 insertions, 31 deletions
diff --git a/lang/gcc34/README b/lang/gcc34/README index e0608381eff..be64f839122 100644 --- a/lang/gcc34/README +++ b/lang/gcc34/README @@ -3,13 +3,16 @@ 2) The Ada compiler front-end of gcc is itself written in Ada. Consequently, an Ada compiler must be used - to build this pkg. In pkgsrc, lang/gcc3-ada is version - 3.3 of the gcc Ada compiler; it also requires an Ada - compiler to build. This pkg may also be built from - lang/gcc34-ada. + to build it. - For bootstrapping, you can download a pre-built version - of gcc 3.4.0 Ada from: + Note however that in pkgsrc the lang/gcc-aux and/or + lang/gnat-aux packages, which are substantially newer, + are recommended instead of building the gcc34 Ada + frontend. + + If you do wish to build the Ada compiler as part of this + package you can download a pre-built version of gcc 3.4.0 + Ada for bootstrapping from: http://www.johnrshannon.com/NetBSD/ix86/gccAda-3.4.0.tgz http://www.johnrshannon.com/NetBSD/pentium4/gccAda-3.4.0.tgz diff --git a/lang/gcc34/options.mk b/lang/gcc34/options.mk index cac289069c4..97b3abed90f 100644 --- a/lang/gcc34/options.mk +++ b/lang/gcc34/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2012/04/26 13:27:43 hans Exp $ +# $NetBSD: options.mk,v 1.3 2012/12/31 03:20:12 dholland Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.gcc34 PKG_SUPPORTED_OPTIONS= nls gcc-inplace-math gcc-c++ gcc-fortran gcc-java gcc-objc gcc-ada @@ -44,8 +44,6 @@ CONFIGURE_ARGS+= --disable-nls ### ### Optional languages -### Ada could be added although there is a bootstrapping issue. See -### ../gcc34-ada for guidance ### LANGS= c @@ -80,10 +78,8 @@ PTHREAD_OPTS+= require native LANGS+= ada # Ada bootstrap compiler section -# An Ada compiler is required to build the Ada compiler. You -# may specify: -#USE_GCC34ADA =# Define to use gcc-3.4.x-ada -# Or, you may specify the path of any gcc/gnat Ada compiler +# An Ada compiler is required to build the Ada compiler. +# You may specify the path of any gcc/gnat Ada compiler # by providing the full path of the compiler (example) below: ALT_GCC= /usr/pkg/bin/gnatgcc . if defined(ALT_GCC) @@ -98,27 +94,11 @@ PKG_SKIP_REASON+= "${ALT_GCC} does not appear to be an Ada compiler" PKG_SKIP_REASON+= "Missing bootstrap Ada compiler" . endif . endif -. if !defined(USE_GCC34ADA) && !defined(ALT_GCC) +. if !defined(ALT_GCC) PKG_SKIP_REASON+= "An Ada bootstrap compiler must be specified to build Ada" . endif -. if defined(USE_GCC34ADA) -BUILDLINK_DEPMETHOD.gcc34-ada=build -.include "../../lang/gcc34-ada/buildlink3.mk" - -post-patch: - (cd ${FILESDIR}; \ - ${CP} adasignal.c ${WRKSRC}/gcc/ada; \ - ${CP} ada_lwp_self.c ${WRKSRC}/gcc/ada; \ - ${CP} dummy_pthreads.c ${WRKSRC}/gcc/ada; \ - for i in *.adb *.ads ; do \ - ${CP} $$i ${WRKSRC}/gcc/ada; \ - done ) - -# Overide compiler.mk setup to use gcc-3.4.x-ada -pre-configure: -.include "../../lang/gcc34-ada/preconfigure.mk" -. elif defined(ALT_GCC) +. if defined(ALT_GCC) pre-configure: (${TEST} -d ${WRKDIR}/.gcc/bin/ || ${MKDIR} ${WRKDIR}/.gcc/bin/) (cd ${WRKDIR}/.buildlink && ${MKDIR} ${RALT_GCC_RTS} && \ |