Commit graph

73 commits

Author SHA1 Message Date
snj
7bdebf2480 Convert to buildlink3. 2004-04-27 03:09:57 +00:00
wiz
f7906f6e94 Unused. 2004-04-26 09:21:57 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
msaitoh
2cf4f09e3a Update to PTL-2.1.9
Changes:

* fixed: pthread_kill() does not restore the critical level when given
  signal number is zero.

* New API: POSIX readdir_r.

* fixed: interruption by a signal whose handler is SIG_SIGWAIT_NP may
  cause infinite loop.

* fixed: PTL's internal SIGSEGV handler gets strange arguments on a
  system that has POSIX-based signal facility.
2002-12-12 07:07:05 +00:00
wiz
a10f4baf89 Unused. 2002-10-13 00:42:19 +00:00
tron
b330a4fe8e Add work arround for buffer overflow in PTL2 library as suggested by
Nick Hudson. This fixes PR pkg/18585. Bump package revision to 1.
2002-10-10 18:59:30 +00:00
tron
5ba094652e Fix silly bug in an utility script which wouldn't accept "gcc" if it is
called "cc".
2002-09-25 15:54:23 +00:00
jlam
011e4075f8 Use BUILDLINK_CPPFLAGS.<pkg> and BUILDLINK_LDFLAGS.<pkg> as standard names
for the extra CPPFLAGS and LDFLAGS needed by packages that include these
buildlink2.mk files.
2002-09-23 02:28:36 +00:00
jlam
d4c420280f buildlink1 -> buildlink2 2002-09-10 19:54:59 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jlam
e1be891dbc Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
2002-07-24 19:45:22 +00:00
skrll
2064853864 Fix pkg/16389: PLT2 has insufficient levels of buildlink for ARM systems 2002-07-12 09:57:43 +00:00
wiz
016604fd4c Fix a typo and remove some unnecessary text. 2002-07-10 11:32:26 +00:00
skrll
3f88fa7ac6 Patch the config.guess files with the latest version. This fixes builds on
new ARM based machines (tested on CATS) and others.

Roll on CONFIG_GUESS_OVERRIDE.

This fixes part of pkg/16389 from Richard Earnshaw <rearnsha@arm.com>
2002-06-24 12:09:43 +00:00
dmcmahill
6e22e6cc05 update to ptl-2.1.8
changes are:

2001-03-02  Kota ABE  <k-abe@media.osaka-cu.ac.jp>

* include/setjmp.h: change the name of struct _sigjmp_buf into
  struct _ptl_sigjmp_buf.  FreeBSD 4.2R's <machine/setjmp.h> defines
  the same struct.

2000-12-07  Kota ABE  <k-abe@media.osaka-cu.ac.jp>

* src/io_api.c (read_timedwait): fixed: infinite loop when READ()
  returns with EIO. (<hsaitoh@nts.ricoh.co.jp>).

* src/io_api.c (readv_timedwait): ditto.
2002-03-28 12:12:31 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
1071baf87e Note package is strongly-buildlinked (trivially). 2001-10-25 15:42:56 +00:00
jlam
f9423fd2d8 Add buildlink.mk file for use by other package Makefiles. 2001-10-25 15:37:04 +00:00
jlam
860644ccf2 Use ${FILE_CMD} instead of ${FILE}. 2001-07-15 12:49:47 +00:00
dmcmahill
373564f068 sync with patch-ad 2001-07-13 19:47:29 +00:00
bad
b83a2d3e62 Add RCS ID. 2001-07-13 16:06:46 +00:00
bad
f5d2810794 Make sure to test for __sparc__ so that NO_SHM gets defined on NetBSD/sparc. 2001-07-13 16:02:38 +00:00
tron
60ffab8ff2 Work arround for build problems under NetBSD-current. This fixes
PR pkg/13171 by myself.
2001-06-12 10:40:39 +00:00
jlam
dc6eadbf21 Use ${XARGS} instead of invoking xargs directly. 2001-05-19 03:56:23 +00:00
jlam
d75cbbb9fd Change build dependency from perl-5.* to perl>=${PERL5_REQD}. Also change
dependency from libperl-5.* to libperl>=${PERL5_REQD}.
2001-04-30 04:16:08 +00:00
wiz
dfb2d5edc6 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 00:44:09 +00:00
agc
d7d36b3561 + 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 10:57:56 +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
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +00:00
agc
1703cd47c9 Match the PLIST with reality 2001-02-05 15:02:52 +00:00
hubertf
4415486720 add missing '$' 2001-01-13 03:33:14 +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
msaitoh
e723731b98 Upgrade to PTL-2.1.7
Changes:

* fixed: priority queue, used in condition variable, mutex and join,
  might corrupt if multiple threads of different priority are blocking
  on the same queue.

* fixed: fopen() and fdopen() do not unlock the mutex for the stdio.
2000-11-14 02:30:12 +00:00
msaitoh
cb55fe4e04 md5 for ptl-2.1.6 2000-10-31 04:11:08 +00:00
msaitoh
9ff3574f53 Upgrade to 2.1.6.
Changes from 2.1.5:

	* src/io.c (fcntl): support nonblocking I/O.

	* src/sleep.c (sleep): change return type and the argument of
	sleep() from int to unsigned.

	* src/cond.c: add unrenamed pthread_cond_timedwait().

	* include/pthread.h: fix the prototype of pthread_cond_timedwait().
2000-10-30 22:39:54 +00:00
msaitoh
6a9f9caed0 Upgrade to 2.1.5.
Changes:

* Add wait3() and wait4().

* fixed: wait() or waitpid() might not return even after a child
  process exits.

* fixed: bug in close() and pipe().

* fixed: processes might hang up if a signal interrupts within a
  critical region.
2000-09-24 17:14:37 +00:00
jlam
60d8d28f10 Update build dependency on perl to build in correct directory if perl
interpreter is not found.
2000-09-05 09:33:15 +00:00
jlam
bb3a955498 Use PERL5 variable for location of perl5 binary. 2000-08-28 09:14:50 +00:00
msaitoh
ccdd700704 ptl works on alpha. I removed "NOT_FOR_PLATFORM=*-*-alpha" 2000-07-17 12:40:02 +00:00
msaitoh
ce60d4541f Updated to PTL-2.1.4.
Changes between 2.1.3 and 2.1.4:

* fixed: a bug causes stack overflow if the process is interrupted by
  a UNIX signal frequently.

* fixed: sigwait() causes SIGSEGV.

* deferred cancellation is processed within BSD socket APIs.
2000-07-17 03:35:44 +00:00
tron
9752bba3bc Fix automatical creation of package list to handle symbolic links to
directories properly.
2000-06-21 08:57:04 +00:00
msaitoh
441a17f2fc Update to PTL-2.1.3
Changes from 2.1.2:

	* src/mutex.c: Now pthread_mutex_lock() is NOT a cancellation
	point, as POSIX requires.

	* src/sched.c (_pthread_block): check cancellation status before
	making the calling thread block.

	* add call to pthread_testcancel() to a lot of cancellation point
	functions.

	* src/mutex.c, src/cond.c: fixed: mutex and cv chain can be
	corrupted.
2000-06-07 04:28:20 +00:00
msaitoh
c4354bc45b Jump to PTL-2.1.2
Changes between PTL2-current-990622 and PTL-2.1.2

	* support NetBSD/arm32.

	* fix a configure.in bug which fails if $MACHINE != $MACHINE_ARCH.

	* src/io_udp.c (send_timedwait, sendto_timedwait,
 	sendmsg_timedait): While underlying system calls return with
 	EWOULDBLOCK, continue writing.

	* src/signal.c (_pthread_signal_init): On system that PTL can set
 	the stack pointer without using sigstack(), SIGUSR2 can be used
 	for user's purpose.

	* src/internal.h (END_CRITICAL): fixed: signal interruptions are
 	lost in certain situation theoretically.

	* src/io.c: use O_NONBLOCK rather than O_NDELAY in SunOS5.

	* Util/Makefile.in: version number of libPTL.so is changed to 2.0.

	* src/specific.c (pthread_key_create, pthread_setspecific): if
 	fail to allocate the memory, returns ENOMEM.

	* src/cond.c, src/mutex.c, include/sys/types.h: pthread_mutex_t
 	and pthread_cond_t are changed from `pointer to struct' to
 	`struct'.

	* src/cond-attr.c, include/sys/types.h: pthread_condattr_t is
 	changed from integer handle to struct.

	* src/cond.c, src/mutex.c, src/pthread.c:
 	pthread_{mutex_,cond_,}setname_np returns ENOMEM if malloc()
 	returns NULL.

	* src/cancel.c (pthread_setcancelstate): if FLAG_CLEANUP_HANDLER
 	is set, do not call pthread_exit() even if PTHREAD_CANCEL_ENABLE
 	is specified and the thread is already cancel requested.

	(pthread_testcancel): similar to above.

	* src/internal.h (FLAG_CLEANUP_HANDLER): this flag shows that the
 	thread is currently executing cleanup handlers.

	* src/sched.c (after_csw): Clear FLAG_DO_CANCEL flag before
 	executing cleanup handlers to prevent entering executing cleanup
 	handlers loop.

	* src/io.c (_pthread_pdb_iostat): Implement `iostat' command into
 	PDB.
2000-05-07 11:18:19 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
ff6d4f8317 replaced some commands by their ${COMMAND} counterparts 1999-12-28 05:09:49 +00:00
rh
c742e6f2f9 defuzz 1999-11-15 19:16:34 +00:00
msaitoh
72dd01f651 add PTL2-current-990622-patch-5 1999-09-30 13:15:09 +00:00
bad
54a0899079 Pull in patch4 too. Fixes a compile problem on sparc. From Kota Abe. 1999-09-08 16:17:24 +00:00