source: scripts/untested/autotools/patches/automake-1.5-target_hook.patch@ bffaa02

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since bffaa02 was d1afb9e, checked in by Jim Gifford <clfs@…>, 19 years ago

r587@server (orig r585): ryan | 2005-08-05 21:51:35 -0700
Add a sane autotools build to the mix.
Blatantly stolen from gentoo...



  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[d1afb9e]1diff -uNr automake-1.5-orig/automake.in automake-1.5/automake.in
2--- automake-1.5-orig/automake.in 2001-08-23 15:26:53.000000000 +1000
3+++ automake-1.5/automake.in 2005-07-30 16:32:40.000000000 +1000
4@@ -1940,7 +1940,9 @@
5 }
6
7 # Let the language do some special magic if required.
8- $lang->target_hook ($aggregate, $object, $full);
9+ if (defined $lang) {
10+ $lang->target_hook ($aggregate, $object, $full);
11+ }
12
13 if ($derived_source)
14 {
15diff -uNr automake-1.5-orig/m4/depout.m4 automake-1.5/m4/depout.m4
16--- automake-1.5-orig/m4/depout.m4 2001-05-14 10:01:09.000000000 +1000
17+++ automake-1.5/m4/depout.m4 2005-07-30 16:32:59.000000000 +1000
18@@ -12,8 +12,8 @@
19 test x"$AMDEP_TRUE" != x"" ||
20 for mf in $CONFIG_FILES; do
21 case "$mf" in
22- Makefile) dirpart=.;;
23- */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
24+ Makefile|GNUmakefile) dirpart=.;;
25+ */Makefile|*/GNUmakefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
26 *) continue;;
27 esac
28 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
Note: See TracBrowser for help on using the repository browser.