pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/features Use an actual function (regcomp) declared ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ff5624a7aecb
branches: trunk
changeset: 533086:ff5624a7aecb
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Sep 08 05:06:40 2007 +0000
description:
Use an actual function (regcomp) declared in <regex.h> as the feature
name instead of just "regex".
diffstat:
mk/features/features-vars.mk | 4 ++--
mk/features/features.mk | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r d1078e0e4e40 -r ff5624a7aecb mk/features/features-vars.mk
--- a/mk/features/features-vars.mk Sat Sep 08 05:04:37 2007 +0000
+++ b/mk/features/features-vars.mk Sat Sep 08 05:06:40 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: features-vars.mk,v 1.4 2007/09/08 05:04:37 jlam Exp $
+# $NetBSD: features-vars.mk,v 1.5 2007/09/08 05:06:40 jlam Exp $
#
# This file is include by bsd.prefs.mk.
#
@@ -69,7 +69,7 @@
. endif
.endfor
-.for _feature_ in regex
+.for _feature_ in regcomp
. if defined(USE_FEATURES) && !empty(USE_FEATURES:M${_feature_})
. if !exists(/usr/include/regex.h)
MISSING_FEATURES+= ${_feature_}
diff -r d1078e0e4e40 -r ff5624a7aecb mk/features/features.mk
--- a/mk/features/features.mk Sat Sep 08 05:04:37 2007 +0000
+++ b/mk/features/features.mk Sat Sep 08 05:06:40 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: features.mk,v 1.2 2007/09/08 04:54:12 jlam Exp $
+# $NetBSD: features.mk,v 1.3 2007/09/08 05:06:40 jlam Exp $
#
# This file is included by bsd.pkg.mk.
#
@@ -42,7 +42,7 @@
!empty(MISSING_FEATURES:Mgetopt_long) || \
!empty(MISSING_FEATURES:Mglob) || \
!empty(MISSING_FEATURES:Mnbcompat) || \
- !empty(MISSING_FEATURES:Mregex) || \
+ !empty(MISSING_FEATURES:Mregcomp) || \
!empty(MISSING_FEATURES:Msnprintf) || \
!empty(MISSING_FEATURES:Mutimes) || \
!empty(MISSING_FEATURES:Mvsnprintf) || \
@@ -67,7 +67,7 @@
. if (${_FEATURE_USE_NBCOMPAT} == "yes") && !empty(MISSING_FEATURES:Mglob)
BUILDLINK_TARGETS+= features-glob-h
. endif
-. if (${_FEATURE_USE_NBCOMPAT} == "yes") && !empty(MISSING_FEATURES:Mregex)
+. if (${_FEATURE_USE_NBCOMPAT} == "yes") && !empty(MISSING_FEATURES:Mregcomp)
BUILDLINK_TARGETS+= features-regex-h
. endif
Home |
Main Index |
Thread Index |
Old Index