aboutsummaryrefslogtreecommitdiff
path: root/devel/automake/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-11 09:32:09 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-11 09:32:09 +0000
commit22d14000a56aaaf6fff38301370ef8173417a08d (patch)
tree28d3950316a06455b7fb461480062d7b00f80b77 /devel/automake/files
parent6bb28a13bd1569c87af1346f012ff792ac03dae9 (diff)
downloadports-22d14000a56aaaf6fff38301370ef8173417a08d.tar.gz
ports-22d14000a56aaaf6fff38301370ef8173417a08d.zip
Turn famous `duplicated macro ...' into a warning rather than an error.
Notes
Notes: svn path=/head/; revision=46070
Diffstat (limited to 'devel/automake/files')
-rw-r--r--devel/automake/files/patch-ad22
1 files changed, 17 insertions, 5 deletions
diff --git a/devel/automake/files/patch-ad b/devel/automake/files/patch-ad
index ef9a6f42c14b..ddf7317ff655 100644
--- a/devel/automake/files/patch-ad
+++ b/devel/automake/files/patch-ad
@@ -1,5 +1,8 @@
---- aclocal.in.orig Mon Jan 11 11:35:27 1999
-+++ aclocal.in Wed Jul 19 19:13:05 2000
+
+$FreeBSD$
+
+--- aclocal.in.orig Sun Jul 15 13:52:18 2001
++++ aclocal.in Sat Aug 11 12:28:32 2001
@@ -34,6 +34,8 @@
# Note that this isn't pkgdatadir, but a separate directory.
$acdir = "@datadir@/aclocal";
@@ -9,7 +12,7 @@
# Some globals.
# Exit status.
-@@ -103,6 +105,9 @@
+@@ -106,6 +108,9 @@
local (@dirlist) = &parse_arguments (@ARGV);
@@ -19,7 +22,7 @@
&scan_m4_files ($acdir, @dirlist);
&scan_configure;
if (! $exit_status)
-@@ -266,12 +271,13 @@
+@@ -279,12 +284,13 @@
$file_contents{'acinclude.m4'} = &scan_file ('acinclude.m4');
}
@@ -34,7 +37,7 @@
foreach $file (sort grep (! /^\./, readdir (DIR)))
{
# Only examine .m4 files.
-@@ -281,6 +287,12 @@
+@@ -294,6 +300,12 @@
next if $file eq 'aclocal.m4';
$fullfile = $m4dir . '/' . $file;
@@ -47,3 +50,12 @@
$file_contents{$fullfile} = &scan_file ($fullfile);
}
closedir (DIR);
+@@ -400,7 +412,7 @@
+ elsif ($map{$1} ne 'acinclude.m4' || $file eq 'acinclude.m4')
+ {
+ warn "aclocal: $file: $.: duplicated macro \`$1'\n";
+- $exit_status = 1;
++ # $exit_status = 1;
+ }
+ print STDERR "Found macro $1 in $file: $.\n" if $verbosity;
+ }