pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Fixed the detection of config_headers, so that it a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/71520cf856af
branches:  trunk
changeset: 525160:71520cf856af
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Feb 07 23:10:23 2007 +0000

description:
Fixed the detection of config_headers, so that it also catches
non-standard definitions, like for example in devel/ncurses.

diffstat:

 mk/bsd.pkg.debug.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 99efd4e1e4f8 -r 71520cf856af mk/bsd.pkg.debug.mk
--- a/mk/bsd.pkg.debug.mk       Wed Feb 07 22:30:10 2007 +0000
+++ b/mk/bsd.pkg.debug.mk       Wed Feb 07 23:10:23 2007 +0000
@@ -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 @@
          [ ! -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;                                                    \



Home | Main Index | Thread Index | Old Index