From ce0254204c0696eecc240e100121ec3a5af57782 Mon Sep 17 00:00:00 2001 From: ade Date: Sat, 15 Jul 2000 19:07:48 +0000 Subject: Persuade automake to look not only in ${PREFIX}/share/aclocal (ie: ${LOCALBASE}), but also ${X11BASE}/share/aclocal via an extra patch and some configure-time substitution Discussed on: ports (quite a while back) Original disgusting hack by: ade Suggested improvements by: asami Reworked patch by: ade --- devel/automake19/Makefile | 3 +++ devel/automake19/files/patch-ad | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 devel/automake19/files/patch-ad (limited to 'devel/automake19') diff --git a/devel/automake19/Makefile b/devel/automake19/Makefile index a31ea876..dec01e0 100644 --- a/devel/automake19/Makefile +++ b/devel/automake19/Makefile @@ -19,6 +19,9 @@ USE_PERL5= yes STRIP= # none +pre-configure: + ${PERL} -pi -e "s^%%X11BASE%%^${X11BASE}^" ${WRKSRC}/aclocal.in + post-install: @install-info ${PREFIX}/info/automake.info ${PREFIX}/info/dir diff --git a/devel/automake19/files/patch-ad b/devel/automake19/files/patch-ad new file mode 100644 index 0000000..2d5b122 --- /dev/null +++ b/devel/automake19/files/patch-ad @@ -0,0 +1,11 @@ +--- aclocal.in.orig Sun Jan 10 20:35:27 1999 ++++ aclocal.in Sat Jul 15 13:59:55 2000 +@@ -103,7 +103,7 @@ + + + local (@dirlist) = &parse_arguments (@ARGV); +-&scan_m4_files ($acdir, @dirlist); ++&scan_m4_files ($acdir, '%%X11BASE%%/share/aclocal', @dirlist); + &scan_configure; + if (! $exit_status) + { -- cgit v1.1