From aab5ef87a00f5b8d7d062bcff93007f5cb1cf458 Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 7 Feb 2007 23:10:23 +0000 Subject: Fixed the detection of config_headers, so that it also catches non-standard definitions, like for example in devel/ncurses. --- mk/bsd.pkg.debug.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/bsd.pkg.debug.mk') 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; \ -- cgit v1.2.3