pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/configure mk/configure: when there are multiple CON...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c9e288f013cb
branches:  trunk
changeset: 322806:c9e288f013cb
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 28 13:18:18 2019 +0000

description:
mk/configure: when there are multiple CONFIGURE_DIRS, print current dir

This helps to find out which of the several configure scripts has
problems, for example when checking for unknown command line options
using GNU_CONFIGURE_STRICT.

diffstat:

 mk/configure/configure.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7835c1fd0908 -r c9e288f013cb mk/configure/configure.mk
--- a/mk/configure/configure.mk Sun Apr 28 13:15:25 2019 +0000
+++ b/mk/configure/configure.mk Sun Apr 28 13:18:18 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.mk,v 1.27 2019/04/28 11:25:32 rillig Exp $
+# $NetBSD: configure.mk,v 1.28 2019/04/28 13:18:18 rillig Exp $
 #
 # = Package-settable variables =
 #
@@ -206,6 +206,9 @@
 .PHONY: do-configure-script
 do-configure-script:
 .for _dir_ in ${CONFIGURE_DIRS}
+.  if ${CONFIGURE_DIRS:[#]} != 1
+       ${RUN} ${STEP_MSG} "Running "${CONFIGURE_SCRIPT:Q}" in "${_dir_:Q}
+.  endif
        ${RUN}${_ULIMIT_CMD}                                            \
        cd ${WRKSRC} && cd ${_dir_} &&                                  \
        ${PKGSRC_SETENV} ${_CONFIGURE_SCRIPT_ENV}                       \



Home | Main Index | Thread Index | Old Index