Commit graph

20 commits

Author SHA1 Message Date
jlam
7b1d3cb465 Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:31 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
00568c0d49 Set USE_BUILDLINK_ONLY and remove unnecessary config.cache entry to prevent
detection of libpthread.
2001-06-19 03:22:40 +00:00
jlam
072be2ad69 Use bsd.buildlink.mk instead of duplicating code all over the place. 2001-06-11 01:59:33 +00:00
jlam
5d02f04b3a Use cookies (.*_done) to determine whether headers and libs have been
linked from a particular package, and add a pre-configure target to
the buildlink.mk file to more painlessly use buildlink.mk files.  A
${BUILDLINK_TARGETS} variable still exists in case a package _must_
define NO_CONFIGURE.
2001-06-10 00:09:29 +00:00
wiz
eccd5cc39a ' ' -> '\t' 2001-06-09 15:21:03 +00:00
jlam
3d1ca8b38d * Add buildlink.mk file to link appropriate libraries and headers into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages.

* Remove unnecessary include of bsd.prefs.mk.

* Change how we disable pthreaded version of lwp by passing values to the
  configure script via the environment, instead of requiring an extra file.
2001-05-31 22:51:17 +00:00
phil
f9dfc1ff7a Update to a much more current version, 1.6. (1.7 is out but has
changes mostly to support Mac OS and shouldn't be different for NetBSD.)
2001-04-27 19:00:36 +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
wiz
94dc65fbec Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:38:16 +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
fredb
4eb78ac859 Unify ONLY_FOR_PLATFORM to clarify conditions, somewhat, under which
coda/lwp may be built and run. "lwp" needs custom pmap handling in assy
language. Only "lwp" is needed to build and run a coda server; client's
also need to have the MI CODA filesystem enabled. In fact, it seems
that sparc64 has the CODA file system even the assembler in "lwp" is
only for sparc, and mac68k is the only m68k port with the CODA filesystem,
but such would be cumbersome to express with the present framework.
2000-09-29 15:40:27 +00:00
wiz
98e7dbee36 USE_PKGLIBTOOL -> USE_LIBTOOL 2000-08-14 17:56:05 +00:00
dmcmahill
a9b818f711 - add NOT_FOR_PLATFORM *-*-mips* along with a note on where work is needed for
full support.

-add partial mips support, but still get:
  process.s:177: Warning: MIPS PIC call to register other than $25
  process.s:177: Warning: No .cprestore pseudo-op used in PIC code
2000-07-24 22:04:05 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
fredb
a52edb6e6a Update to 1.1. From the NEWS file:
* Fixed a bad stackbase on NetBSD/FreeBSD platforms.
* Fixed a locking bug in lock_pt.c.
* Using pthread_attr_setdetachstate in lwp_pt.c instead of modifying the
	attr struct directly.
* Improved cross-compiling with cygwin32 and djgpp.
* Added a script that might produce a useable ports/packages descriptions.
* Wrote a bit in the INSTALL document.

NOTE: The script pkgs/pkg-bsd.sh was not used to make this package.
2000-02-03 12:58:43 +00:00
fredb
1ac1704609 Don't try to build the pthreaded version, even if there is
a libpthread.* somewhere in the library path.
1999-12-30 09:58:16 +00:00
fredb
4e0f3656a3 Initial import of lwp-1.0 -- Light Weight Process style threads package. 1999-12-29 09:45:10 +00:00