Commit graph

84 commits

Author SHA1 Message Date
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
briggs
04d6d1a28a Make the PIC relocations correct on the powerpc. 2001-01-10 03:18:17 +00:00
briggs
b85cfb40da Support NetBSD-*-powerpc 2001-01-10 01:28:45 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
agc
0f6a64c129 Add a patch from Tom Thai - without this patch, mysql will result in a
wrong date for "select now()".
2000-11-29 16:42:57 +00:00
fredb
3c5a4978b6 Let "configure" recognize NetBSD-1.5*. Patch contributed
by Douglas Wade Needham in PR pkg/10766.
2000-08-06 19:55:45 +00:00
wiz
b420d9bce3 echo -> ${ECHO} 2000-03-16 12:27:04 +00:00
dmcmahill
2bd590a236 add CONFLICTS. installs the same files as unproven-pthreads 2000-02-22 22:09:39 +00:00
mycroft
2f1d87fc82 Regen. 2000-01-10 20:15:16 +00:00
mycroft
22a7b492a1 Disable the fork_lock hack. Programs want to be able to fork themselves
before firing up pthreads (e.g. to background).
2000-01-10 19:59:15 +00:00
wiz
855416f289 replaced some commands by their ${COMMAND} counterparts 2000-01-02 03:14:03 +00:00
wiz
7a2e0d1f4e RCS tags added 1999-12-28 05:08:11 +00:00
wiz
1eaed8daca replaced some commands by their ${COMMAND} counterparts 1999-12-28 05:04:27 +00:00
rh
3a6f778f15 Add patch fuzz factor 1999-11-15 19:10:40 +00:00
explorer
cccdf393c5 Fix a rather nasty problem with signals, namely SIGCHLD, that prevented
running threaded binaries if SIGCHLD was set to SIG_IGN.  What happens is
that pthreads uses either sigaction() or signal() to set up signals when
switching thread state.  It used HAVE_SYSCALL_SIGACTION to decide which to
use.  But, while we have a FUNCTION called sigaction(), the syscall is
__sigaction14, which caused HAVE_SYSCALL_SIGACTION to not be defined.

This would have been ok if the pthread kernel didn't assume signal would
return 0 for success and non-zero for failure.  Signal() returns the
previous handler.  SIG_IGN != 0, so pthreads thought the call failed.
Resulting in a call to abort().
1999-11-06 07:37:34 +00:00
explorer
8788f1831d remove ALL the local path... 1999-11-05 19:21:58 +00:00
explorer
943556df56 how'd this sneak in there? Remove local paths from patch file 1999-11-05 19:18:01 +00:00
explorer
796dd02091 add machdep_sys_ftruncate() as well 1999-11-05 18:56:22 +00:00
explorer
2e7c2d23ff do the machdep_sys_lseek() thing slightly differently, but do it everwhere via a common include file. 1999-11-05 18:45:55 +00:00
explorer
a8c6dcbbe7 somehow patch-bc was lost from here 1999-11-05 18:34:46 +00:00
explorer
af82b1b736 two fixes. One, context switch fix (sorta) and another obvious bug in call to pthread_sigmask() 1999-11-05 18:13:19 +00:00
explorer
6731ad2210 another 1.4.x vs. -current fix 1999-11-05 17:50:54 +00:00
explorer
6e7894d955 Make the endian.h thing work on 1.4.1 as well as 1.4L. I don't know exactly when the file
sys/endian.h was created, but I don't really care as I know it wasn't in 1.4.x and it is in
the latest -current.
1999-11-05 17:36:44 +00:00
explorer
190c57057c make makepatchsum 1999-11-05 17:17:07 +00:00
explorer
3db3d7dcd0 remove pthreads's endian.h, as it isn't needed anymore. 1999-11-05 17:16:40 +00:00
explorer
7093062007 commit patches to make a try at fixing signal handling, compilation under ELF.
I'll sync these changes up to the mysql package when I test these changes
a bit more.
1999-11-05 17:13:27 +00:00
bad
bdf31251ec Regen. 1999-09-10 20:39:06 +00:00
bad
5a2f89f447 Make this compile on 1.3ish m68k machines:
In engine-m68000-netbsd.c: Move the declaration of __sycall() before the
	function it's first used in
In syscall-m68000-netbsd.S don't use the compat_13 sigprocmask/sigsuspend
	syscall number constants, they were just SYS__sigprocmask/suspend.
Fix the configure script to do the same dance for the 1.3ish systems as
	for the other architectures.
Fix a typo in config.guess.
1999-09-10 20:38:23 +00:00
bad
ce4f521fe1 regen. 1999-08-02 18:19:44 +00:00
bad
e68ebf4f3a config/configure.in: change m4 quotes where necessary.
Also fix two typos that might affect 1.4ish sparc and arm32.
1999-08-02 18:18:17 +00:00
bad
2fd02f2ef4 oops. regen. 1999-08-02 17:33:35 +00:00
bad
3f4a763e1a Per Andy Finnell: use same magic to pacify the ansi cpp as in
syscall-template-m68000-netbsd.S.
1999-08-01 22:12:28 +00:00
bad
e3924bdfce Add m68k support to MIT-pthreads. By Andy Finnell <andy@vei.net>.
Thanks to Greg Oster for testing on the hp300.
1999-07-29 16:44:41 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tron
8475357fcd Don't use "{}" or "[]" in "ONLY_FOR_PLATFORM" or "NOT_FOR_PLATFORM"
because "bsd.pkg.mk" can't handle those patterns. Fixes PR pkg/7808
by Chris Demetriou.
1999-06-20 21:06:17 +00:00
agc
79ad5ffa92 Fix spelling of Chris Provenzano's name.
Fixes PR 7689, from Eric Mumpower.
1999-06-02 07:43:53 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
bad
fbe2ebe8e6 Fix obvious typo in getprotoent.c
From gson@araneus.fi (Andreas Gustafsson).
1999-05-18 14:55:48 +00:00
tron
b1e841e86a Link shared library with "/usr/lib/c++rt0.o" on a.out systems to make sure
that pthread_init() gets called. Fixes PR pkg/7433 by Andreas Gustafsson.
1999-05-02 19:46:16 +00:00
tron
02bb23dc2f Nuke private definitions of "BINOWN" and "BINGRP" so that files don't
get installed under the id of the user which compiled the package.
1999-05-01 18:35:22 +00:00
tron
293ec7e4ba Correct "rm" command which is supposed to remove "libpthread_pic.a".
Fixes PR pkg/7505 by Nick Hudson.
1999-05-01 18:13:07 +00:00
bad
86b07db0d1 Update from Andreas Gustafsson.
Don't fail to build on 1.3.x systems.
1999-04-30 14:04:56 +00:00
bad
75fb60a54e First half of PR #7433: Must use c++rt0.o as SHLIB_LDSTARTFILE on a.out
platforms.
From Andreas Gustafsson.
1999-04-29 17:30:40 +00:00
bad
3a8f481f4f Provide getopt() prototype and externs in include/unistd.h.
From Andreas Gustafsson PR #7434.
1999-04-29 17:05:49 +00:00
bad
8d0119c40a Don't pass linker input files and options when the linker isn't run.
From Andreas Gustafsson PR #7453.
1999-04-29 17:03:38 +00:00
bad
5c49039364 Nuke post-patch crap.
Reenable this package.
1999-04-16 16:33:19 +00:00
bad
50b3a78343 Fix thinko in previous commit. Correctly recognise 1.4ish systems. 1999-04-16 16:32:11 +00:00
tv
6676c33d1b Make compile on 1.4, but mark RESTRICTED and IS_INTERACTIVE so that it is
not built in a batch on 1.4 (it may compile, ut it doesn't run).
Also make library building more uniform regardless of MKxxxx or
NOxxxx settings in mk.conf.
1999-04-15 13:56:01 +00:00
bad
11501d92b4 Recognise 1.4ish NetBSD in the configure scripts. 1999-04-08 20:08:56 +00:00
bad
65874c8174 Check for socklen_t in the configure script and define a preprocessor
symbol accordingly.
1999-04-08 19:44:36 +00:00