Commit graph

140 commits

Author SHA1 Message Date
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
skrll
1d3036d946 Make sure that sjlj exceptions are used everywhere and be consistent with
the defines.

While I'm here pull across a fix for LIB_SPEC that prevents libc from
being linked in when linking a shared library.

Fixes pkg/12620 from Takuya SHIOZAKI <tshiozak@netbsd.org>
2001-04-27 10:45:22 +00:00
wiz
0bf13dff2f echo -> ${ECHO} 2001-04-21 14:07:30 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
jlam
82db7d18a5 Add missing files for NetBSD/sparc to a ${MACHINE_PLATFORM}-specific
PLIST for pgcc.  PGCC should now list all the files needed on NetBSD/sparc.
This matches a similarly motivated change in gcc/Makefile, but done
differently.
2001-03-29 15:24:59 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
hubertf
cc1187a0ff gcc installs a few extra files on sparc:
/usr/pkg/gcc-2.95.2//lib/gcc-lib/sparc--netbsdelf/2.95.2/crtbegin.o
/usr/pkg/gcc-2.95.2//lib/gcc-lib/sparc--netbsdelf/2.95.2/crtbeginS.o
/usr/pkg/gcc-2.95.2//lib/gcc-lib/sparc--netbsdelf/2.95.2/crtend.o
/usr/pkg/gcc-2.95.2//lib/gcc-lib/sparc--netbsdelf/2.95.2/crtendS.o

Make sure they find their way into PLIST
2001-03-01 02:10:22 +00:00
jlam
d7c6716d70 Add LIBGCC_SPEC definition taken from
gnusrc/gnu/dist/toolchain/gcc/config/netbsd.h
2001-03-01 00:30:34 +00:00
jlam
99371cfa2f Minimize differences between gcc/Makefile and pgcc/Makefile. 2001-02-28 23:51:12 +00:00
jlam
f022182ddd Make comment for ONLY_FOR_PLATFORM a bit more generic and reorder the
platforms so that NetBSD comes first (just because ;)
2001-02-28 23:49:18 +00:00
hubertf
3b6a62ce6b Make this pkg work on NetBSD/sparc.
Patches contributes by Michael Rauch <mrauch@fs.tum.de> in PR 12299
2001-02-28 23:28:08 +00:00
jlam
9ea766a260 Make lang/gcc and lang/pgcc conflict under Solaris as both install directly
under ${LOCALBASE}.  This doesn't affect NetBSD as, there, both install
under ${LOCALBASE}/${PKGNAME}.
2001-02-21 18:12:20 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
jlam
9b0deda231 Add missing semicolon.
Fixes PR#12153 by Olaf Seibert <rhialto@polderland.nl>.
2001-02-08 17:27:01 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
jlam
33804604f9 Use ${PKGNAME} instead of hard-coding gcc-2.95.2. 2001-01-16 16:53:59 +00:00
tron
2bcd8c5bd0 Fix thinko in last commit. 2001-01-13 00:34:55 +00:00
tron
3731f4fbf8 It doesn't make sense to remove "bin/cc" and recreate it later in
"post-install" target.
2001-01-13 00:21:11 +00:00
tron
fd931ee3ad Remove bogus file entries. 2001-01-13 00:20:27 +00:00
tron
1a91c3e889 Make this package work with Solaris:
- It can be bootstraped with Sun Workshop.
- It goes to "${LOCALBASE}" directly because there is no possible conflict
  with the system's GNU C compiler.
2001-01-11 06:53:10 +00:00
jlam
f9b092b520 Regen. 2000-10-16 08:57:23 +00:00
jlam
6aac880b3b Don't redefine wint_t (already defined in <machine/ansi.h> by NetBSD).
Fixes PR#11177.
2000-10-16 08:56:02 +00:00
fredb
b8d9660ed5 Avoid running "autoheader" -- it can't help you, but it can hurt you! 2000-09-25 22:19:19 +00:00
tron
18b922cabb Mention support of "NetBSD-m68k" in comment and correct a typo. 2000-09-22 21:15:36 +00:00
fredb
3ad1ad293e What do you know... this builds on m68k/1.4.3. 2000-09-22 01:51:56 +00:00
tron
17982c16af Use place holder for "${PREFIX}" instead of hard coding "/usr/pkg". 2000-09-16 07:49:53 +00:00
tron
8d646047df Add a message which explains how to use "gcc-2.95.2" via "MAKECONF". 2000-09-16 00:19:45 +00:00
tron
178cf5b627 - Add patches from NetBSD-current to fix build on i386 ELF systems.
- Install into "${LOCALBASE}/gcc-2.95.2" to avoid that e.g. "bsd.pkg.mk"
  picks up the new compiler by accident.
- Add a file "${LOCALBASE}/etc/gcc-2.95.2.mk" which makes it possible to
  use the new "gcc" like this:
  make MAKECONF=/usr/pkg/etc/gcc-2.95.2.mk
2000-09-15 23:58:47 +00:00
tron
4e05f91827 - Remove broken NetBSD i386 ELF support for the moment. Something in
NetBSD's "egcs" configuration files breaks the build of "libiberty"
  obviously.
- Make this package work on NetBSD arm32.
- Actually add entries to package list.

Still to do:
- rename binaries to avoid conflicts with base distribution
- improve directory structure
- support more platforms
2000-05-23 22:09:58 +00:00
tron
782b73a94b Adapt to new handling of "${CONFIGURE}". 2000-03-27 08:54:53 +00:00
tron
9b768eda38 Initial import of unfinished "gcc-2.95.2" package:
GNU Compiler Collection
2000-03-24 23:41:20 +00:00