summaryrefslogtreecommitdiff
path: root/mk/features
AgeCommit message (Collapse)AuthorFilesLines
2022-01-14For macOS, getline(3) arrived sometime after 10.6 -- guessing 10.7 likeschmonz1-2/+2
strnlen(3). Make libnbcompat's implementation available to packages via USE_FEATURES=getline.
2019-09-02mk: use a single form for headings in the documentation commentsrillig1-3/+3
2019-07-10Avoid pulling in libnbcompat on every platform, mark the specific builds ofsevan1-5/+1
Darwin which libnbcompat should be pulled in on to provide strnlen instead.
2019-07-08Support USE_FEATURES=strnlen to provide an implementation of strnlen(3) via ↵sevan2-5/+10
libnbcompat, should the host OS lack support
2018-11-30mk/misc: make configuration for show-all targets more configurablerillig1-1/+2
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).
2015-01-01Use PKG_SKIP_REASON instead of PKG_FAIL_REASON for some cases wheredholland1-2/+2
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.
2014-07-17SCO OpenServer 5.0.7/3.2 has no snprintf and vsnprintf.ryoon1-2/+3
2014-05-18Haiku also has getprogname(3)/setprogname(3).obache1-2/+2
noticed by diger in pkgsrc-users@.
2013-11-26use find-headers.mk to detect header files instead of using absolute path.obache1-6/+32
2012-03-02Add feature "cdefs" to provide sys/cdefs.h from libnbcompat.hans2-8/+16
2008-06-14Fix typo.joerg1-2/+2
2008-05-26Depend on nbcompat for getopt_long on OSF1.tnn1-2/+2
XXX bandaid to get groff to build, will be fixed differently with the (still vaporware) new features framework ...
2008-02-21IRIX has /usr/include/getopt.h but it isn't getopt_long. Account for thistnn1-2/+2
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-21HPUX 11.11, like IRIX, doesn't have standards compliant (v)snprintf.tnn1-2/+2
2008-01-14Make setenv(3) a libnbcompat-provided feature.tnn2-4/+12
2007-11-29Added more keywords.rillig1-3/+5
2007-11-20libnbcompat doesn't seem to be designed for easy use. One has to includerillig1-1/+2
<nbcompat/config.h> manually.
2007-11-20Added the feature "asprintf", since Solaris 10 doesn't provide it. Therillig2-16/+15
missing feature is defined in the platform-specific file, which is more elegant than adding even more of those ".if ${OPSYS} == ..." conditions.
2007-11-20Added an empty default definition for USE_FEATURES, which makes therillig2-12/+13
remaining code shorter.
2007-11-06More documentation.rillig1-5/+31
2007-11-03Added keywords.rillig1-1/+3
2007-10-16Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.tnn1-2/+2
2007-10-01Documented the currently available features and added _VARGROUPS.rillig1-1/+19
2007-09-29typorillig1-2/+2
2007-09-08Use an actual function (regcomp) declared in <regex.h> as the featurejlam2-5/+5
name instead of just "regex".
2007-09-08Fix reversed test for MISSING_FEATURES+=inet6.jlam1-2/+2
2007-09-08Canonicalize the way the features are tested.jlam1-18/+26
2007-09-08* Teach the features framework about the fts_* family of functions.jlam2-5/+50
* 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-07Add a "system features" framework that will eventually be used tojlam2-0/+132
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.