Commit graph

1923 commits

Author SHA1 Message Date
grant
0c414e029b oops, we still want the mk files for non-pkgsrc purposes. unbump
PKGREVISIONs.
2003-07-13 13:16:03 +00:00
grant
7528b4d437 greatly simplify the handling of pkgsrc gcc, and eliminate a bug which
has allowed these packages to work :)

set CC, CXX, CPP and F77 in gcc{,3}/buildlink2.mk.

you now only need to define USE_GCC2 or USE_GCC3 to use the pkgsrc
gcc of your choice.

the share/examples/gcc/mk.conf and gcc3/mk.conf files are no longer
installed.

bump PKGREVISIONs.
2003-07-13 13:04:09 +00:00
jtb
04d18619ce Add the patches this time. 2003-07-12 11:39:52 +00:00
jtb
48a69c796b Add the "if-exists" specs function. Enables the addition of
crti.o and crtn.o to the executable if needed.
Bump PKGVERSION.
2003-07-12 11:38:31 +00:00
jtb
3f9c40bb8e Add some patches against basesrc gcc implementing the "if-exists"
function in the specs file.  Enables the linker to pick
up crti.o and crtn.o if they exist.
2003-07-12 08:53:40 +00:00
jtb
dcd0c0a985 Regen. 2003-07-11 08:24:41 +00:00
jtb
c9c4feb129 * Use LIBTOOL_OVERRIDE
* Remove a useless chunk from patch-ac

Pointed out by wiz.
2003-07-11 08:15:09 +00:00
jtb
f0caf3dcde Remove unnecessary register store in the profiling prologue. 2003-07-11 07:47:44 +00:00
jtb
55135ef3b7 Following a discussion between wiz and nathanw:
Enable cilk to work with pthread libraries without the
PTHREAD_SCOPE_SYSTEM attribute.  This allows it to work with the native
pthreads.
2003-07-11 07:28:12 +00:00
jtb
c39ecf6ebc * Enable use of the posix thread context switch for architectures
for which no assembly context switch code is available.
* Use buildlink2.
2003-07-10 13:46:04 +00:00
jtb
ad0f76be30 * Needs some things not yet in the base system pthread library.
Depend on devel/pth for now.
* Currently only supported on alpha, i386, mips*, powerpc, sparc
* Add a test target.
2003-07-10 13:16:20 +00:00
jtb
148937e759 Missed change of .mcount to __mcount in PROFILE_C. 2003-07-10 12:28:55 +00:00
wiz
ccd2555155 Add gcc3-* packages. 2003-07-10 11:49:48 +00:00
jtb
ce3fe082f3 * Add support for the profiler on powerpc
* Fix i386 profiling. NetBSD calls __mcount while FreeBSD calls .mcount
2003-07-10 07:44:01 +00:00
drochner
f1bd37d7e6 The file affected by the bugfix (unroll.c) is potentially used by all
language backends.
2003-07-09 15:23:53 +00:00
drochner
95bd11b46e -as abs did to lang/gcc3:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955
	* unroll.c (unroll_loop): Fix off-by-one bug.
    Fixes build issue with xdm and -O3
    Suggested by fredb
-${prefix} is the same like ${GCC_PREFIX}, but the former is already there
2003-07-09 15:14:42 +00:00
drochner
b918cab416 There is no point in buildlinking gcc's private include files: They
are not for the host compiler, but for the stage-1 "xgcc", which is
not subject to buildlink's redirection.
(The gcc libs are needed because ld is redirected.)
2003-07-09 15:11:21 +00:00
agc
6eacd3982c Some packages check for tclsh and wish rather than using other means of
testing for the presence or absence of tcl or tk, so add these to the
files managed by buildlink2.
2003-07-09 14:04:06 +00:00
grant
b896065cca add a buildlink for gawk. this is derived from and shares the same
purpose as gsed/buildlink2.mk.

XXX IRIX is currently listed in _INCOMPAT_AWK - this should be removed
if awk on IRIX is known to be good.
2003-07-09 08:17:42 +00:00
seb
a27e925c08 No need to include texinfo.mk, bsd.pkg.mk does it. 2003-07-08 16:39:51 +00:00
abs
778857b37b Update gcc3 to gcc3-3.3nb4:
Apply http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10955
	* unroll.c (unroll_loop): Fix off-by-one bug.
    Fixes build issue with xdm and -O3
    Suggested by fredb
2003-07-08 16:30:44 +00:00
drochner
26acfcb094 oops, I was assuming the .info files are put into the packlist
automatically. Not true appearently.
2003-07-08 16:07:03 +00:00
drochner
7497ad9c29 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)
2003-07-08 15:04:53 +00:00
seb
c1771cd9b2 Install documentation in pkgsrc canonical directories.
Add directory entry to twelf.info via patch file.
Avoid patch backup files to be installed.
Convert to USE_NEW_TEXINFO.

Bump PKGREVISION.
2003-07-07 23:33:49 +00:00
jtb
f1f0d57d57 Add support for NetBSD on SPARC systems. 2003-07-07 21:31:52 +00:00
seb
329ad417bf Convert to USE_NEW_TEXINFO. 2003-07-07 21:14:12 +00:00
seb
91e4c832f9 REgen after last update of package. 2003-07-07 21:02:03 +00:00
seb
46b0c6fbee Mark with USE_GCC_SHLIB (for libstdc++) and let (via patch files)
LDFLAGS flowing to japhar's link command.

At least fix build on Solaris9.
2003-07-07 13:56:27 +00:00
seb
7c126a0b80 Convert to USE_NEW_TEXINFO. 2003-07-07 13:42:37 +00:00
seb
00fd7aba94 I don't quite understand why this 'rm -rf' had been put in
post-install target. Putting it in post-build instead does fix some
PLIST issues.

Correct me if I'm wrong.
2003-07-07 13:40:08 +00:00
seb
3a40ea2455 Convert to USE_NEW_TEXINFO. 2003-07-06 16:27:41 +00:00
seb
4e9c7c32d1 Specifying --infodir=... to configure is not needed anymore. 2003-07-06 15:33:36 +00:00
seb
aaa7115491 Ooops I missed this INSTALL script while doing the conversion
to USE_NEW_TEXINFO (I should have added it to INSTALL_TEMPLATES).

Anyway as info files are now registered in a package specific info
directory file I guess it can be removed.
2003-07-06 14:28:35 +00:00
seb
03fb7511aa Reorder a bit so pkglint is happier. 2003-07-06 14:28:08 +00:00
seb
f49d84b8ff No need anymore to specify --infodir=... to configure.
Factorize some install commands.
2003-07-06 14:23:31 +00:00
grant
354018ee63 style nits. use CC:M*gcc* to match any gcc, as per other packages. 2003-07-06 12:37:25 +00:00
grant
886b31b982 set GCC_VERSION for use in GCC_ARCHDIR. remove a superfluous comment
about GCC_PREFIX.

XXX why is GCC_PREFIX ${PREFIX}/gcc3 ?
2003-07-06 12:31:57 +00:00
drochner
bf1c6cfe93 Split the gcc3 pkg into per-language pieces.
Needs some cleanup and integration; eventually lang/gcc3 can turn into
a meta-pkg.
2003-07-06 12:15:03 +00:00
grant
4c586379b2 s/${PKGVERSION}/3.3/ - we don't have a variable for PKGVERSION
without PKGREVISION.
2003-07-06 12:06:32 +00:00
seb
a04fdf7f00 Convert to USE_NEW_TEXINFO.
Add info directory entries by way of patch files to most of the info files.
2003-07-05 21:16:36 +00:00
seb
659a3a05ef Convert to USE_NEW_TEXINFO. 2003-07-05 15:53:33 +00:00
seb
be3b4db1d4 Mark these two packages as conflicting: they install info file, libexec
commands and share files with the same pathnames.
2003-07-05 15:14:38 +00:00
seb
001c29835c Convert to USE_NEW_TEXINFO. 2003-07-05 14:50:17 +00:00
seb
6d0e9766fb Convert to USE_NEW_TEXINFO. 2003-07-05 14:39:25 +00:00
seb
6e88dfd605 Convert to USE_NEW_TEXINFO.
Remove inclusion of bsd.pkg.install.mk AFAICT it was not needed and more
such a direct inclusion is not really advised I guess.
2003-07-05 13:25:44 +00:00
seb
bbe649ec1c Sprinkle some '@dirrm' and '@unexec ${RMDIR}' to achieve a clean
deinstall.
2003-07-05 10:41:35 +00:00
seb
c5a5e12b61 Convert to USE_NEW_TEXINFO. 2003-07-05 10:29:16 +00:00
seb
d75cefc2c9 Convert to USE_NEW_TEXINFO.
While here fix a info directory entry in gawk.{texi,info}.
2003-07-04 20:57:21 +00:00
seb
26a183050b Convert to USE_NEW_TEXINFO.
Remove unnecessary patch file.
2003-07-04 20:41:36 +00:00
seb
730e84aa4d Convert to USE_NEW_TEXINFO. 2003-07-04 20:08:35 +00:00