From 28f9e3fca732ef3d937c728bebc42131d5a9a20b Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 21 Apr 2001 14:13:23 +0000 Subject: [PATCH] Pull patch from automake-current: ignore comments in included files as well. Problem reported by naddy@ --- devel/automake/patches/patch-aclocal_in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devel/automake/patches/patch-aclocal_in diff --git a/devel/automake/patches/patch-aclocal_in b/devel/automake/patches/patch-aclocal_in new file mode 100644 index 00000000000..a1480f3a443 --- /dev/null +++ b/devel/automake/patches/patch-aclocal_in @@ -0,0 +1,14 @@ +$OpenBSD: patch-aclocal_in,v 1.1 2001/04/21 14:13:23 espie Exp $ +--- aclocal.in.orig Sat Apr 21 15:31:53 2001 ++++ aclocal.in Sat Apr 21 16:10:27 2001 +@@ -346,6 +346,10 @@ sub add_file + push (@rlist, $1); + } + ++ # Remove comments from current line. ++ s/\bdnl\b.*$//; ++ s/\#.*$//; ++ + # This function constructed dynamically. + if (! &search && /(^|\s+)(AM_[A-Z_]+)/) + {