diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-10-13 12:54:48 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-10-13 12:54:48 +0000 |
commit | 07a43438a335931d7ea7d994e0c0f90c2c2ef81a (patch) | |
tree | 7dddfe38f4b0bae6889a602784f4d998bfce2087 /devel/automake14/files/patch-aclocal.in | |
parent | Add HVSC-Update, a tool to update your HVSC C= 64 SID tune collection. (diff) |
1. Made post-install DESTDIR-safe.
2. Made install put files in the RIGHT place (no extra level of dirs;
changing 'datadir' is not the right thing to do).
3. Made nice exit when you have USE_AUTOMAKE* defined.
4. Renamed patch files so I can tell what they do.
5. Portrevision bump => 3.
Notes
Notes:
svn path=/head/; revision=67970
Diffstat (limited to 'devel/automake14/files/patch-aclocal.in')
-rw-r--r-- | devel/automake14/files/patch-aclocal.in | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/devel/automake14/files/patch-aclocal.in b/devel/automake14/files/patch-aclocal.in new file mode 100644 index 000000000000..34596cc08909 --- /dev/null +++ b/devel/automake14/files/patch-aclocal.in @@ -0,0 +1,61 @@ + +$FreeBSD: /tmp/pcvs/ports/devel/automake14/files/Attic/patch-aclocal.in,v 1.1 2002-10-13 12:54:48 alane Exp $ + +--- 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"; + ++$acdir_x11 = '%%X11BASE%%/share/aclocal'; ++ + # Some globals. + + # Exit status. +@@ -106,6 +108,9 @@ + + + local (@dirlist) = &parse_arguments (@ARGV); ++ ++unshift @dirlist, $acdir_x11 if -d "$acdir_x11/."; ++ + &scan_m4_files ($acdir, @dirlist); + &scan_configure; + if (! $exit_status) +@@ -279,12 +284,13 @@ + $file_contents{'acinclude.m4'} = &scan_file ('acinclude.m4'); + } + ++ local (@skipinolist) = (); + local ($m4dir); + foreach $m4dir (@dirlist) + { + opendir (DIR, $m4dir) + || die "aclocal: couldn't open directory \`$m4dir': $!\n"; +- local ($file, $fullfile, $expr); ++ local ($file, $fullfile, $ino, $expr); + foreach $file (sort grep (! /^\./, readdir (DIR))) + { + # Only examine .m4 files. +@@ -294,6 +300,12 @@ + next if $file eq 'aclocal.m4'; + + $fullfile = $m4dir . '/' . $file; ++ ++ # Do not scan a file more than once. ++ $ino = (stat($fullfile))[1]; ++ next if grep($ino eq $_, @skipinolist); ++ push @skipinolist, $ino; ++ + $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; + } |