aboutsummaryrefslogtreecommitdiff
path: root/devel/automake
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-07-15 19:07:48 +0000
committerAde Lovett <ade@FreeBSD.org>2000-07-15 19:07:48 +0000
commitbb104d8a037b33a3b011b9a5cc9aab8e5b1ee5b8 (patch)
treefbd36e9bcc1830fb4a91c231b7ec057aecc7b358 /devel/automake
parent1788a167d625314fbab45be1ada4dda78c1b608b (diff)
downloadports-bb104d8a037b33a3b011b9a5cc9aab8e5b1ee5b8.tar.gz
ports-bb104d8a037b33a3b011b9a5cc9aab8e5b1ee5b8.zip
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
Notes
Notes: svn path=/head/; revision=30673
Diffstat (limited to 'devel/automake')
-rw-r--r--devel/automake/Makefile3
-rw-r--r--devel/automake/files/patch-ad11
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/automake/Makefile b/devel/automake/Makefile
index a31ea876ed3a..dec01e0a76c8 100644
--- a/devel/automake/Makefile
+++ b/devel/automake/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/automake/files/patch-ad b/devel/automake/files/patch-ad
new file mode 100644
index 000000000000..2d5b1223d4f1
--- /dev/null
+++ b/devel/automake/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)
+ {