Commit graph

15 commits

Author SHA1 Message Date
danw
7fa2565590 -lpthread is a no-op on Darwin, but it messes up buildlink. So add a new
flag _OPSYS_PTHREAD_AUTO ("yes" for Darwin, "no" for everyone else) and
make pthread.buildlink2.mk do basically nothing in that case.
2003-09-14 16:30:34 +00:00
jlam
841b57441b Merge pkgviews-mk branch into the HEAD by running:
cd pkgsrc/mk
	cvs update -Pd -A
	cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-09-02 06:59:37 +00:00
jmc
d46e28d7a7 Use PKG_SKIP_REASON instead of PKG_FAIL_REASON here if qualifications aren't
met. The same message gets to the user but now it won't show a package as
broken on bulk builds that really is simply unavaiable on a given platform
2003-07-23 20:15:01 +00:00
grant
4f52e90180 also set PTHREAD_LDFLAGS=-lpthread if we aren't using native threads. 2003-07-11 23:37:13 +00:00
grant
6790bfa9bc minor style nit 2003-07-10 23:12:40 +00:00
grant
d6cada760d define user-visible variable PTHREAD_LDFLAGS that contains options
to link pthreaded code, ala PTHREAD_CFLAGS.

this adds support for systems which have no libpthread, but rather,
have pthreads functions in libc_r, such as FreeBSD 5.x.

export PTHREAD_CFLAGS and PTHREAD_LDFLAGS via MAKE_ENV.
2003-07-10 23:10:07 +00:00
jlam
a4b2a82c02 Define user-visible variable "PTHREAD_CFLAGS" that contains compiler
options to compile/link pthreaded code.
2003-05-25 19:02:32 +00:00
wiz
80c4ff07e8 Bump pth dependency here too. 2003-05-02 15:11:46 +00:00
jmmv
3a77850e7b s/SILIENT/SILENT/ 2003-04-25 15:36:43 +00:00
jlam
0fb7eda7a3 Create a fake libpthread.la that corresponds to /usr/lib/libpthread.*.
This should allow building packages that use libtool and use native
pthreads even if pth is installed.
2003-01-25 08:39:54 +00:00
schmonz
a2849a9dca Replace IGNORE into PKG_FAIL_REASON and PKG_SKIP_REASON, so pkgsrc
can stop builds when a dependency is broken, yet continue builds
when a dependency is merely skipped (usually because it duplicates
functionality in the base system). Thus IGNORE_FAIL, the
oft-misunderstood and naught-documented option, goes away.

This addresses many people's complaints on tech-pkg@ and other
lists, as well as PR pkg/18157.
2002-12-07 02:37:56 +00:00
jlam
b954670051 Bump the pth dependency to pth>=1.4.1nb5, which ensures that we have the
latest set of fixes and changes to pth to make it look more like a real
pthreads package.
2002-11-01 06:09:36 +00:00
jlam
84927fc8d8 Don't require setting the version of the replacement pthread package needed
by pthread.buildlink2.mk if the default one from the package's
buildlink2.mk suffices.
2002-09-20 23:46:38 +00:00
jlam
39ed96c8d6 Create PTHREADBASE, which has the base prefix location for the pthread
libraries.
2002-09-20 08:27:21 +00:00
jlam
b119dbc8ef Merge pkgsrc/mk from the buildlink2 branch back into the main trunk. 2002-08-22 08:21:26 +00:00