Commit graph

30 commits

Author SHA1 Message Date
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00
jlam
d390185ffd Don't automatically add -lgetopt to LIBS, as we usually only want -lgetopt
to be linked into just the programs, not everything being linked including
libraries.  Also some changes to set _NEED_GETOPT instead of a direct check
for /usr/include/getopt.h.
2001-08-20 03:54:48 +00:00
tron
3a85b0da6a - Don't mirror distfile which is already on "ftp.netbsd.org".
- pkglint: remove whitespace and end of line.
2001-07-29 05:32:34 +00:00
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
wiz
5e1933cc0b Make this package work under Solaris 8.
Patches provided by Stoned Elipot <Stoned.Elipot@script.jussieu.fr>
in private mail.
Addresses pkg/13017.
2001-07-23 22:31:08 +00:00
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
12835f77f5 LIBS is automatically added to CONFIGURE_ENV if GNU_CONFIGURE is defined. 2001-06-18 10:53:28 +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
jlam
20edd3082f Protect against multiple inclusion. 2001-05-26 05:44:09 +00:00
jlam
e1fc187824 No functional changes, only slight recoding to make it easier to cut-and-
paste into new buildlink.mk files.
2001-05-25 04:49:15 +00:00
jlam
e0d1a579c8 Add a link-getopt-libs target to link libgetopt* into ${BUILDLINK_LIBDIR},
and add link-getopt-libs to BUILDLINK_TARGETS.
2001-05-24 09:13:19 +00:00
jlam
d1c6bb07b5 Make instructions for use more explicit, and correct a typo in the
comments (WRKSRC should be WRKDIR).
2001-05-24 08:58:24 +00:00
jlam
54718a4db7 Standardize name of file to include for build-links to be "buildlink.mk".
Use BUILDLINK_INCDIR, BUILDLINK_LIBDIR for locations of linked headers
and libraries.  Create a variable BUILDLINK_TARGETS whose value is the
list of build-link targets to execute.
2001-05-24 08:53:54 +00:00
jlam
d59eed58aa Tell the user when we're linking getopt headers, and conditionally add
-lgetopt to LIBS if GNU_CONFIGURE is defined.
2001-05-22 16:45:38 +00:00
jlam
0342227f5f Tidy up the comments. 2001-05-16 04:37:46 +00:00
jlam
3650011653 Move this file from databases/postgresql/Makefile.getopt to be usable by
more packages.
2001-05-15 19:18:14 +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
wiz
22a4592084 reorder lines for pkglint 2000-10-21 22:03:22 +00:00
wiz
dd1bb51702 Update to 1.3:
1.2 wasn't working because _DIAGASSERT isn't defined on 1.4.x; worked around
it by defining it in the getopt_long.c distfile.
2000-10-18 13:47:05 +00:00
wiz
415bf3a264 Update libgetopt to what's in -current right now (includes a
much-improved getopt_long).
Bump to 1.2.
2000-10-18 11:16:57 +00:00
hubertf
e75965c6ba Update IGNORE-messages for recent changes: add ${PKGNAME} where
appropriate.
2000-08-21 21:01:29 +00:00
hubertf
cbd70cdf13 ignore this pkg on -current systems where <getop.h> is present 2000-05-01 14:18:56 +00:00
hubertf
5980088df9 This package currently builds with rev. 1.1 of getopt_long.c only.
Put the distfiles into $MASTER_SITE_LOCAL for now.
1999-10-20 12:02:19 +00:00
hubertf
2d7fda348b NetBSD's getopt_long put into a library, until we have this somewhere
else available to (all!) users.
1999-08-06 16:37:22 +00:00