Commit graph

28 commits

Author SHA1 Message Date
rillig
0ff5dc4a46 mk: use a single form for headings in the documentation comments 2019-09-02 02:23:02 +00:00
sevan
3448b40764 Avoid pulling in libnbcompat on every platform, mark the specific builds of
Darwin which libnbcompat should be pulled in on to provide strnlen instead.
2019-07-10 17:15:27 +00:00
sevan
9f35364b7e Support USE_FEATURES=strnlen to provide an implementation of strnlen(3) via libnbcompat, should the host OS lack support 2019-07-08 22:09:22 +00:00
rillig
858c6cfd69 mk/misc: make configuration for show-all targets more configurable
Up to now, there was a central list of variable name patterns that
defined whether a variable was printed as a sorted list, as a list or as
a single value.

Now each variable group decides on its own which of the variables are
printed in which way, using the usual glob patterns. This is more
flexible since different files sometimes differ in their naming
conventions.

Two variable groups are added: license (for everything related to
LICENSE) and go (for lang/go).
2018-11-30 18:38:19 +00:00
dholland
2a00e7b840 Use PKG_SKIP_REASON instead of PKG_FAIL_REASON for some cases where
the problem is either situational (e.g. the various RESTRICTED-like
cases) or unfixable in pkgsrc (no pthreads, ipv6, etc. on platform).

Conversely, if the wrong version of mysql is installed, that's a
PKG_FAIL_REASON.
2015-01-01 07:51:47 +00:00
ryoon
a1605428c6 SCO OpenServer 5.0.7/3.2 has no snprintf and vsnprintf. 2014-07-17 13:07:14 +00:00
obache
f2eb5f5730 Haiku also has getprogname(3)/setprogname(3).
noticed by diger in pkgsrc-users@.
2014-05-18 08:38:07 +00:00
obache
6b0afb3283 use find-headers.mk to detect header files instead of using absolute path. 2013-11-26 07:04:55 +00:00
hans
8e69b1023c Add feature "cdefs" to provide sys/cdefs.h from libnbcompat. 2012-03-02 16:19:17 +00:00
joerg
400536b681 Fix typo. 2008-06-14 08:55:58 +00:00
tnn
a80aa4a4fd Depend on nbcompat for getopt_long on OSF1.
XXX bandaid to get groff to build, will be fixed differently with the
(still vaporware) new features framework ...
2008-05-26 17:48:27 +00:00
tnn
a1aba997fa IRIX has /usr/include/getopt.h but it isn't getopt_long. Account for this
in the feature test.
This should fix PR pkg/33012 and PR pkg/35293.
It maybe fixes  PR pkg/37941 and PR pkg/37409.

I will go through the packages mentioned and see if any of them are
shared libraries (then they cannot use static nbcompat getopt_long but
must use libgetopt instead.)
2008-02-21 14:08:48 +00:00
tnn
2c48f1460b HPUX 11.11, like IRIX, doesn't have standards compliant (v)snprintf. 2008-02-21 01:36:28 +00:00
tnn
17f6f25e3a Make setenv(3) a libnbcompat-provided feature. 2008-01-14 23:06:26 +00:00
rillig
d5f54df3ce Added more keywords. 2007-11-29 08:53:14 +00:00
rillig
9a32ac35fc libnbcompat doesn't seem to be designed for easy use. One has to include
<nbcompat/config.h> manually.
2007-11-20 18:21:03 +00:00
rillig
84a48dac04 Added the feature "asprintf", since Solaris 10 doesn't provide it. The
missing feature is defined in the platform-specific file, which is more
elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
2007-11-20 17:49:49 +00:00
rillig
4bd807b4a6 Added an empty default definition for USE_FEATURES, which makes the
remaining code shorter.
2007-11-20 17:19:59 +00:00
rillig
c0e80833bb More documentation. 2007-11-06 22:48:15 +00:00
rillig
daba721a30 Added keywords. 2007-11-03 11:50:18 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
rillig
6560c76f0c Documented the currently available features and added _VARGROUPS. 2007-10-01 11:47:00 +00:00
rillig
65a80e3a87 typo 2007-09-29 13:17:52 +00:00
jlam
940bc4dcda Use an actual function (regcomp) declared in <regex.h> as the feature
name instead of just "regex".
2007-09-08 05:06:40 +00:00
jlam
d1db5cad7b Fix reversed test for MISSING_FEATURES+=inet6. 2007-09-08 05:04:37 +00:00
jlam
bc88c9e746 Canonicalize the way the features are tested. 2007-09-08 05:03:52 +00:00
jlam
de8a166406 * Teach the features framework about the fts_* family of functions.
* Teach the features framework how to create a replacement header file
  from the <nbcompat/*> equivalent for fts.h, glob.h and regex.h.
2007-09-08 04:54:12 +00:00
jlam
5073c3d95d Add a "system features" framework that will eventually be used to
automatically supply missing "basic" headers and libraries from an
older system, e.g. IRIX 5.x or Interix or AIX, etc.

Example usage:

    USE_FEATURES+=      snprintf glob regex

For now, we just pull in libnbcompat to supply the missing bits.
2007-09-07 21:55:44 +00:00