Commit graph

56 commits

Author SHA1 Message Date
jlam
72148206cf * Use buildlink2.
* We can't use the funky SETENV construct because it breaks some of the
  code related to computing package sizes.  Use a different way to remove
  unwanted environment variables from the shell environment before calling
  BSD make.
2002-10-16 15:18:56 +00:00
jlam
92591a3b7b Unused. 2002-10-09 11:42:36 +00:00
jlam
126da1cd4a As a result of the last change, we no longer need to include bsd.prefs.mk. 2002-10-09 10:32:54 +00:00
jlam
1efb3889d7 Rather than creating wrapper scripts for pgcc and pg++, use them directly
and rely on the gcc and g++ called internally to use the buildlink
wrappers.  This correctly forces all references to headers and libraries
outside of /usr/include and /usr/lib to be within ${BUILDLINK_DIR}.
2002-10-09 10:27:12 +00:00
jlam
420ead485f Ensure that bsd.prefs.mk is included before setting CC and CXX so that
we override any settings in /etc/mk.conf.
2002-10-09 09:49:32 +00:00
jlam
7d8705d838 BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS for unproven-pthreads, which
installs its files into its own hierarchy.
2002-10-09 09:47:29 +00:00
agc
88ebf26131 Fix the "MAKEOBJDIRPREFIX being set causes problems" in a different way.
Explicitly add "USETOOLS=no" to the MAKE_ENV.

Overload the SETENV definition to unset MAKEOBJDIRPREFIX properly.
2002-08-29 14:39:40 +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
jdolecek
38dd88a5f1 also unset MAKEOBJDIRPREFIX for install 2002-08-16 20:15:30 +00:00
jdolecek
d0032ffe68 explicitly unset MAKEOBJDIRPREFIX for build; the build makes some assumtions
about location of .OBJDIR, and wouldn't build if MAKEOBJDIRPREFIX is set
2002-08-16 20:13:10 +00:00
agc
d4409bf817 Use the new CONFIG_GUESS_OVERRIDE and CONFIG_SUB_OVERRIDE mechanisms.
Patch i386 configuration to recognise netbsdelf - more architecture
changes are necessary here.
2002-07-18 09:17:26 +00:00
skrll
8673172a77 Oops. This patch update was a local thing. 2002-07-15 15:57:02 +00:00
skrll
747b933a4b PKGREVISION++ suggested by wiz 2002-07-10 21:58:14 +00:00
skrll
dbb088b7f0 Pull in the pthread/machdep.h header from pthread.h so that
PTHREAD_COND_INITIALIZER can be used.

This fixes pkg/12955 from Jaromir Dolecek <jdolecek@netbsd.org>
2002-07-10 21:40:10 +00:00
jlam
fa324e7a26 Use GNU_CONFIGURE_PREFIX instead of HAS_CONFIGURE workaround. 2002-06-23 03:44:49 +00:00
fredb
613e4922db Make this build on current - NetBSD-1.5ZC/gcc-2.95.3/mac68k. 2002-04-13 12:53:40 +00:00
briggs
1a3a1a2507 Make this compile on powerpc again. 2002-03-25 16:08:31 +00:00
jlam
c543d815f4 We don't actually need to symlink anything as pgcc and pg++ already
handle everything for us.  Invoking "pgcc" is equivalent to invoking
"cc -pthread" on other platforms.  Change the buildlink.mk file to
appropriately define CC and CXX to pgcc and pg++, respectively.
2002-02-08 06:24:12 +00:00
jlam
7e976aeb1c Add preliminary buildlink.mk file. Might need to make wrappers for the
pgcc and pg++ scripts.
2002-02-08 00:13:57 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
dc6eadbf21 Use ${XARGS} instead of invoking xargs directly. 2001-05-19 03:56:23 +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
skrll
b08fa711b8 Provide a vfork in libpthread as suggested in pkg/10801.
There is no need to worry about if its called vfork or __vfork14. The
right one will get built. As vfork is not used internally don't worry
about creating a syscall wrapper.

While I'm here remove a completely unnecessary unistd.h that's looks as
though it was for a early version linux.
2001-04-12 16:10:32 +00:00
skrll
f2ff42269f Previous commit was pretty much useless without this lot.
Support sparc.
XXX fp state needs looking at.
2001-04-12 15:53:30 +00:00
skrll
6ef425cc65 Do the _C_LABEL thing for sparc here as well.
Hopefully fixes pkg/10785
2001-04-12 07:53:17 +00:00
agc
6b715de33b Incorporate some patches from Wolfgang Solfrank (ws@tools.de)
"The changes to unproven-pthreads fix a problem with fstat not using
the pthreads filedescriptors, but the native ones (the code for this
was already there (slightly buggy), but it wasn't used for some
unknown reason).  In addition, the handling of select is improved, as
the original code may wake up not all threads waiting for some event."

Bump version number to unproven-pthreads-0.17nb2
2001-03-23 15:57:45 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +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
briggs
04d6d1a28a Make the PIC relocations correct on the powerpc. 2001-01-10 03:18:17 +00:00
briggs
cdb18e7c53 Add support for the PowerPC. 2001-01-09 16:14:20 +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
wiz
a603589f04 Add alpha support to unproven-pthreads.
By Olaf Seibert <rhialto@polderland.nl>, posted on port-alpha on 2000/08/08.
Compiles fine, otherwise untested.
2000-12-28 03:56:52 +00:00
agc
c6ee400636 Add similar patch to the one in mit-pthreads, fixing the return value from
detzcode() from long to int. From Tom Thai.
2000-11-29 17:08:07 +00:00
wiz
3acb91cc70 Modify order of compile flags of pgcc, as requested in pkg/9921.
Approved by explorer.  Step to 0.17nb1.
2000-09-11 02:02:40 +00:00
explorer
5a035e9016 bump to 0.17 -- fixes a resolver bug, and works with 1.5{,A,B} as well. 2000-07-10 20:12:18 +00:00
explorer
7f69466ff3 bump to 0.16, which includes Jason Thorpe's mutex changes 2000-05-24 18:50:35 +00:00
explorer
66617bbc68 re-release 0.15 -- minor typo in a source file 2000-04-18 23:50:45 +00:00
explorer
e0d1c61b6c bump up to 0.15 to implement p{read,write}{,v} 2000-04-18 23:41:16 +00:00
explorer
a29106d74f bump to 0.14 -- handle signals a little better. Bugs are still there, but at least they _work_ now. 2000-04-14 20:28:54 +00:00
explorer
c6e53d34cd bump to 0.13 -- fixes sigaction() brokenness 2000-04-07 23:39:53 +00:00
explorer
409b187529 bump to 0.12 which fixes a locking bug in dup2() 2000-03-27 23:36:14 +00:00
dmcmahill
2ac2b21349 add CONFLICTS. installs the same files as mit-pthreads 2000-02-22 22:08:23 +00:00
dmcmahill
382dad10a0 patch configure script to correctly recognise netbsd-1.4.* in addition
to netbsd-1.4[A-Z]
2000-02-22 22:07:45 +00:00
explorer
07b8477407 upgrade to 0.11, and enable on m68k since I've been told it works there, too. 2000-01-27 09:30:18 +00:00
explorer
104a8255c1 update to 0.10 to include NetBSD-current's netdb.h, with ipv6 stuff. I
really need to take the various getXbyY_r() functions and put them in
the main source tree, and ditch this file.
2000-01-18 22:21:01 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
855416f289 replaced some commands by their ${COMMAND} counterparts 2000-01-02 03:14:03 +00:00