pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/configure If a word in a configure script is "#", s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b69be0b32d5c
branches: trunk
changeset: 519555:b69be0b32d5c
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Oct 05 10:52:40 2006 +0000
description:
If a word in a configure script is "#", stop scanning that line for
"test ==".
diffstat:
mk/configure/check-portability.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 7ca93fef6fa1 -r b69be0b32d5c mk/configure/check-portability.mk
--- a/mk/configure/check-portability.mk Thu Oct 05 10:50:18 2006 +0000
+++ b/mk/configure/check-portability.mk Thu Oct 05 10:52:40 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.mk,v 1.3 2006/10/05 02:58:28 rillig Exp $
+# $NetBSD: check-portability.mk,v 1.4 2006/10/05 10:52:40 rillig Exp $
#
# This file contains some checks that are applied to the configure
# scripts to check for certain constructs that are known to cause
@@ -46,6 +46,8 @@
if [ ":$$1" = ":test" ] && [ ":$$3" = ":==" ]; then \
found=yes; \
${ERROR_MSG} "[configure.mk] $$line"; \
+ elif [ ":$$1" = ":#" ]; then \
+ break; \
fi; \
shift; \
done; \
Home |
Main Index |
Thread Index |
Old Index