Commit graph

81 commits

Author SHA1 Message Date
dmcmahill
5fde55c69a regen for patch-ac 2002-10-10 12:39:21 +00:00
jlam
3c1a0a25f9 s/echo/${ECHO}/g 2002-10-08 09:09:12 +00:00
dmcmahill
08e871a703 make the libstdc++.so version number the same as the one we ship with netbsd-1.6 as
we use the same sources.  Pointed out by Nick Hudson.
2002-10-05 20:54:52 +00:00
dmcmahill
aba21cb8a7 add a reminder that lang/gcc-ssp needs updating when this pkg is updated 2002-10-05 20:42:37 +00:00
jlam
fbb05ec995 Make the following variables publicly readable:
GCC_VERSION is the version number of the gcc detected.  EGCS gcc is
considered to be "gcc-2.8.1" so that it will match "gcc>=2.8.0".

GCC_PKG is the package name "gcc-${GCC_VERSION} for the gcc detected.
2002-10-01 19:24:28 +00:00
jlam
7ef3659caa Need to pass the library path to libstdc++.so as well, and only add the
extra ld flags if we USE_CXX.
2002-09-29 01:24:00 +00:00
jlam
5e055b8042 Ensure that the buildlink2 wrappers are found when searching for toolchain
subprograms, and that the lang/gcc libstdc++.so is found by the linker.
2002-09-29 00:08:51 +00:00
jlam
c071f4051e The sophisticated version checking was working, but symlinking files into
the buildlink directory wasn't (!).  Fix it.
2002-09-27 13:56:33 +00:00
jlam
4e8da09f63 Create a buildlink2.mk file for lang/gcc. Aside from the usual tunable
variables, there is a new one, GCC_REQD, that contains the minimum version
of GCC needed to compile the package.  For the purpose of version
comparison, all versions of EGCS are considered to be gcc-2.8.1.

This buildlink2.mk file attempts to be smart, so if the gcc in your path is
actually the one from lang/gcc, then it's considered that you need lang/gcc
at least at build-time.

There is also a new variable USE_CXX, that tells the buildlink2.mk file
whether you need to link against libstdc++.so, and thus need a _full_
dependency on lang/gcc.
2002-09-27 13:07:13 +00:00
jlam
cd04e9997a Use bsd.pkg.install.mk, correct the PLISTs to refer to ${PKGNAME}.mk
(instead of hardcoding the version number), and general cleanups to the
Makefile to make this package easier to maintain.
2002-09-27 12:28:15 +00:00
jlam
8ed108a557 Use ${BASENAME} instead of "basename", and fix a typo. 2002-09-27 09:41:40 +00:00
dmcmahill
e78d94cdc7 - pull in the last bit of changes to sync this up with the netbsd-1-6-RELEASE
gcc.

- enable building shared libstdc++

- add a -R to LDFLAGS in Makefile.gcc to point to the shared libs this pkg
  installs
2002-09-09 03:23:06 +00:00
seb
8a409d6c6b It seems that the new combo patchfile dropped the silly `nb1' suffix
on shared libs in $PREFIX/lib. So adjust the PLIST.
2002-08-19 18:20:08 +00:00
dmcmahill
64dcebac20 add patch which got left out of previous commit (why??? I _know_ it was listed
in the Modified Files: section).
2002-08-13 01:58:57 +00:00
dmcmahill
7d47e28417 pull in most recent patches to gcc-2.95.3 from the netbsd-1-6
branch.  Includes fixes for sparc, alpha, and others.
Should help in keeping pkgsrc running on 1.5.* systems.
The patches which mirror those in the main netbsd source tree have
been all put into a single distribution patch file.  This makes
it much easier to maintain and easier to easily see which patches
are specific to pkgsrc.
2002-08-12 01:53:34 +00:00
kristerw
3700725038 Make sure that the compiler finds the non-standard includefiles normally
found on NetBSD (i.e. FlexLexer.h)

This corrects the issue in the remark to my closing of pkg/17638.
2002-08-06 23:44:36 +00:00
dmcmahill
118052a626 also set PKG_FC to ensure that the fortran compiler which is part of
this pkg gets used when another pkg includes this file.
2002-05-25 18:45:54 +00:00
yyamano
24064a5c38 Replace STRIPFLAG with _STRIPFLAG_CC to fix pkg/15467. 2002-05-14 14:01:33 +00:00
dmcmahill
11c974702a generate most of the packing list dynamically for non-SunOS systems. This
is done because different sets of libraries end up being installed based
on MACHINE_ARCH.  Tested on NetBSD/alpha.
2002-04-08 12:11:43 +00:00
jmc
a36ac73d00 Hand edit the alpha/netbsd.h patch. -current gcc relies on a new linker script
which only differs in setting the entry point. Let this use the default
linker script for alpha but force the entry point so this will work on older
NetBSD installs for alpha.
2002-03-31 08:05:51 +00:00
jmc
3728d95a88 Remove PKGREVISION. It causes too many issues with installing/tracking 2002-03-28 17:17:41 +00:00
jmc
bd9e09a86d regen 2002-03-28 10:26:02 +00:00
jmc
90a9fcaefe regen 2002-03-28 10:16:04 +00:00
jmc
2ce70215a8 Update patch set against a sync of source from gnusrc/dist/toolchain.
Not very many overall changes. Main ones include

1. Support for powerpc, arm32 and vax
2. Makefile.gcc can now be included by anything which depends on gcc versions.
   If the version installed isn't 2.95.3 it'll add itself as a BUILD_DEPENDS.
   (XXX: any of the makefile's in pkgsrc should be checked and change to use
    this)

3. Remove special PLIST.NetBSD-sparc as it's no longer needed
4. Change post-extract loop to pick up any arch files from FILESDIR without
   having to hardcode all the archs
5. Remove arch restrictions as this should work on any arch supported by the
   main source tree as of 03/28/02
6. Add PKGREVISION as this clearly isn't stock 2.95.3 (it doesn't change
   gcc --version so version checks won't care).
2002-03-28 10:11:50 +00:00
cjep
cf0e9086ab Use the gcc-2.95.3 FORTRAN (after discussion with abs). 2002-03-25 14:43:35 +00:00
cjep
9b43b2d9dc Build for arm32 as well (after discussion with abs). 2002-03-25 14:43:00 +00:00
tron
b866a203ba Remove empty directory "v9" after installation to avoid deinstallation
problems.
2002-03-14 20:44:21 +00:00
wiz
5c152f8bb0 Some cleanup. 2002-03-14 16:21:57 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
kent
3fc5e98bc8 Add missing sparc/netbsd-elf-common.h. 2002-02-16 14:46:19 +00:00
seb
ff1a9aafdd Fix and enable for Solaris platform. 2002-01-09 16:33:32 +00:00
fredb
629f011395 Add missing command. 2002-01-05 02:20:01 +00:00
tron
2704d3a744 Remove unnecessary patch which caused patch problems due to an include
RCS Id.
2002-01-03 21:57:13 +00:00
tron
7ba2b1a14c Provide a "Makefile.gcc" which can be used by other packages which need
this "gcc" version for building.
2002-01-03 21:39:54 +00:00
tron
3a2cf24eb9 Add missing calls to "install-info". 2002-01-03 21:32:38 +00:00
tron
65ca176f57 Add RCS Id. 2002-01-03 21:19:09 +00:00
tron
5dc7eaab55 Update "gcc" package to version 2.95.3. This is a bug fix release of
version 2.95.2. This package includes all changes to "gcc" from the
new toolchain in NetBSD-current. The only tested (and enabled) platform
is "NetBSD-*-i386" so far.
2002-01-03 20:40:37 +00:00
fredb
abdc282c79 Let's keep this simple, and not let the "nb" bump affect the name of the
installation directory.
2001-12-29 18:33:39 +00:00
fredb
76ce1633d0 Fix up a corrupt infodir entry in "chill.info" that install-info could not
delete cleanly, which foiled subsequent installations, and add an INSTALL
script (keyword PRE-INSTALL) to ensure that the corrupt entry is removed.
2001-12-29 17:41:45 +00:00
zuntum
98cf373d36 Move pkg/ files into package's toplevel directory 2001-11-01 00:32:23 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
tron
c73552270f Install info file into "${PREFIX}/info" so that they get found. 2001-06-11 17:21:56 +00:00
jlam
df40ba2c1b Remove installed curses.h file, as is done by pgcc/Makefile. 2001-06-11 16:12:41 +00:00
tron
c5dc20afe0 Remove link "${PREFIX}/${PKGNAME}/bin/cc" before trying to create it to
avoid install failures in case of an incomplete install before.
2001-06-11 15:10:38 +00:00
tron
994eb3d76b Add missing "INFO_FILES" assignment. 2001-06-07 11:57:52 +00:00
jlam
21fe3825fd Add libstdc++.so needed after shared libs change. 2001-05-07 18:28:37 +00:00
skrll
464082f47d Add --enable-shared to the configuration phase so that a shared libstdc++
gets built.

Add makefile fragments to do the right thing for elf and a.out. Make sure
they are used.

Add @exec/@unexec install-info to the PLIST.

Fixes pkg/12154 from Olaf Seibert <rhialto@polderland.nl>
2001-05-04 10:15:44 +00:00
skrll
f8116655e8 Sort. 2001-05-04 09:19:21 +00:00
jlam
88104de94f Make gcc/Makefile and pgcc/Makefile look more similar. 2001-04-30 19:02:27 +00:00