summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-07 23:10:23 +0000
committerrillig <rillig>2007-02-07 23:10:23 +0000
commit2ebe2e86aea8963509d0230c2e8513ad9cc76be8 (patch)
treef7756e4f006d93f02c1f2548be8852f67da70b25 /mk
parent0025f81a0c4dfeedc755e1f6638654d42db8720f (diff)
downloadpkgsrc-2ebe2e86aea8963509d0230c2e8513ad9cc76be8.tar.gz
Fixed the detection of config_headers, so that it also catches
non-standard definitions, like for example in devel/ncurses.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.debug.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.debug.mk b/mk/bsd.pkg.debug.mk
index 7dae6a1856a..c27aae445b4 100644
--- a/mk/bsd.pkg.debug.mk
+++ b/mk/bsd.pkg.debug.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.debug.mk,v 1.14 2007/02/05 14:27:34 rillig Exp $
+# $NetBSD: bsd.pkg.debug.mk,v 1.15 2007/02/07 23:10:23 rillig Exp $
#
# Public targets:
#
@@ -103,7 +103,7 @@ _show-dbginfo-config.h:
[ ! -f config.h ] || { print_config_h config.h; continue; }; \
[ ! -f config.status ] || { \
: "autoconf 2.59"; \
- chs=`sed -n 's,^config_headers="\(.*\)".*,\1,p' config.status || true`; \
+ chs=`sed -n 's,^config_headers="\([^:]*\).*".*,\1,p' config.status || true`; \
: "autoconf 2.13"; \
[ "$$chs" ] || chs=`sed -n 's,^ CONFIG_HEADERS="\([^:"]*\).*,\1,p' config.status || true`; \
done=no; \