Commit graph

20 commits

Author SHA1 Message Date
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