summaryrefslogtreecommitdiff
path: root/mk/features/features-vars.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/features/features-vars.mk')
-rw-r--r--mk/features/features-vars.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/features/features-vars.mk b/mk/features/features-vars.mk
index 8c08d349f11..91f149a7d98 100644
--- a/mk/features/features-vars.mk
+++ b/mk/features/features-vars.mk
@@ -1,4 +1,4 @@
-# $NetBSD: features-vars.mk,v 1.11 2007/11/20 17:19:59 rillig Exp $
+# $NetBSD: features-vars.mk,v 1.12 2007/11/20 17:49:49 rillig Exp $
#
# The platforms that are supported by pkgsrc differ in the amount of
# functions they provide in the C library (libc). Functions that are
@@ -34,6 +34,7 @@
# Lists the system features required by the package.
#
# Possible:
+# * asprintf: The functions asprintf and vasprintf.
# * err: The functions err, verr, errx, verrx.
# * warn: The functions warn, vwarn, warnx, vwarnx.
# * fts_close, fts_open, fts_read, fts_set: Functions
@@ -76,6 +77,12 @@ USE_FEATURES?= # none
MISSING_FEATURES+= inet6
.endif
+.for f in ${_OPSYS_MISSING_FEATURES}
+. if !empty(USE_FEATURES:M${f})
+MISSING_FEATURES+= ${f}
+. endif
+.endfor
+
.for _feature_ in err warn
. if !empty(USE_FEATURES:M${_feature_})
. if (${OPSYS} != NetBSD) && (${OPSYS} != FreeBSD) && (${OPSYS} != DragonFly)