diff options
author | tnn <tnn@pkgsrc.org> | 2008-01-14 23:06:26 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-01-14 23:06:26 +0000 |
commit | 17f6f25e3aabf578beb10bd0e3bcc08de3e37bdb (patch) | |
tree | f7923f833c592f65ef1d8c723da3de616a2165d8 /mk | |
parent | 41c4b93e60b05f18e0337227dbe7fde65afaa97a (diff) | |
download | pkgsrc-17f6f25e3aabf578beb10bd0e3bcc08de3e37bdb.tar.gz |
Make setenv(3) a libnbcompat-provided feature.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/features/features-vars.mk | 12 | ||||
-rw-r--r-- | mk/features/features.mk | 4 |
2 files changed, 12 insertions, 4 deletions
diff --git a/mk/features/features-vars.mk b/mk/features/features-vars.mk index cff7bdcf9f7..b93ed092670 100644 --- a/mk/features/features-vars.mk +++ b/mk/features/features-vars.mk @@ -1,4 +1,4 @@ -# $NetBSD: features-vars.mk,v 1.14 2007/11/29 08:53:14 rillig Exp $ +# $NetBSD: features-vars.mk,v 1.15 2008/01/14 23:06:26 tnn Exp $ # # The platforms that are supported by pkgsrc differ in the amount of # functions they provide in the C library (libc). Functions that are @@ -59,7 +59,7 @@ # # Keywords: feature features asprintf vasprintf err errx warn warnx # Keywords: fts fts_open fts_read fts_set fts_close getopt_long -# Keywords: getprogname setprogname glob regcomp snprintf vsnprintf +# Keywords: getprogname setprogname glob regcomp setenv snprintf vsnprintf # Keywords: utimes libnbcompat nbcompat _VARGROUPS+= features @@ -134,6 +134,14 @@ MISSING_FEATURES+= ${_feature_} . endif .endfor +.for _feature_ in setenv +. if !empty(USE_FEATURES:M${_feature_}) +. if !empty(MACHINE_PLATFORM:MHPUX-11.11-hppa) # XXX too narrow? +MISSING_FEATURES+= ${_feature_} +. endif +. endif +.endfor + .for _feature_ in snprintf vsnprintf . if !empty(USE_FEATURES:M${_feature_}) . if ${OPSYS} == "IRIX" diff --git a/mk/features/features.mk b/mk/features/features.mk index 0168305054f..725af3cd1d1 100644 --- a/mk/features/features.mk +++ b/mk/features/features.mk @@ -1,4 +1,4 @@ -# $NetBSD: features.mk,v 1.5 2007/11/20 17:49:49 rillig Exp $ +# $NetBSD: features.mk,v 1.6 2008/01/14 23:06:26 tnn Exp $ # # This file is included by bsd.pkg.mk. # @@ -36,7 +36,7 @@ LIBS+= ${FEATURE_LIBS} # libnbcompat provides many of the current features. # _FEATURE_USE_NBCOMPAT?= no -. for f in asprintf err fts_close fts_open fts_read fts_set getopt_long glob nbcompat regcomp snprintf utimes vsnprintf warn +. for f in asprintf err fts_close fts_open fts_read fts_set getopt_long glob nbcompat regcomp setenv snprintf utimes vsnprintf warn . if !empty(MISSING_FEATURES:M${f}) _FEATURE_USE_NBCOMPAT= yes . endif |