From 786d60b052405ee623f1bde5b274081f36f59db6 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 25 Feb 2011 15:33:58 +0100 Subject: [PATCH] Fix depend.sh on NetBSD. NetBSD's sed apparently does not understand the \+ syntax to match the preceeding pattern one or more times. OTOH, {1,} seems to work, so use this syntax instead. This caused the build to abort silently because make gives up on the targets that depend on files in the "cmdline" directory. --- depend.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depend.sh b/depend.sh index aad45a3c..60d4eba6 100755 --- a/depend.sh +++ b/depend.sh @@ -19,4 +19,4 @@ shift LC_ALL=C gcc -MM -MG "$@" \ | sed -e "s@^\(.*\)\.o:@$object_dir/\1.d $object_dir/\1.o:@" \ - -e "s@[ ^]\([a-zA-Z0-9_]\+\.cmdline.h\)@ $cmdline_dir/\1@g" + -e "s@[ ^]\([a-zA-Z0-9_]\{1,\}\.cmdline.h\)@ $cmdline_dir/\1@g" -- 2.39.2