pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Changed name of variable from file to cfile (config...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/355c699b9501
branches:  trunk
changeset: 482532:355c699b9501
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Fri Oct 29 12:30:20 2004 +0000

description:
Changed name of variable from file to cfile (config file) so that pkglint has
one less thing to complain about in every package that includes this file.

diffstat:

 mk/autoconf.mk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 4b46834ff061 -r 355c699b9501 mk/autoconf.mk
--- a/mk/autoconf.mk    Fri Oct 29 12:29:53 2004 +0000
+++ b/mk/autoconf.mk    Fri Oct 29 12:30:20 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: autoconf.mk,v 1.5 2004/10/07 02:01:38 jlam Exp $
+# $NetBSD: autoconf.mk,v 1.6 2004/10/29 12:30:20 darcy Exp $
 #
 # makefile fragment for packages that use autoconf
 # AUTOCONF_REQD can be set to the minimum version required.
@@ -48,9 +48,9 @@
 do-libtool-m4-override:
 .for _pattern_ in ${LIBTOOL_M4_OVERRIDE}
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC};                        \
-       for file in ${_pattern_:S/libtool.m4$/configure/}; do           \
-               if [ -f "$$file" ]; then                                \
-                       libtool_m4=`${DIRNAME} $$file`/libtool.m4;      \
+       for cfile in ${_pattern_:S/libtool.m4$/configure/}; do          \
+               if [ -f "$$cfile" ]; then                               \
+                       libtool_m4=`${DIRNAME} $$cfile`/libtool.m4;     \
                        ${LN} -sf ${PKGSRCDIR}/mk/gnu-config/libtool-1.4.m4 \
                                $$libtool_m4;                           \
                fi;                                                     \



Home | Main Index | Thread Index | Old Index