summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2004-07-07 00:59:39 +0000
committerAde Lovett <ade@FreeBSD.org>2004-07-07 00:59:39 +0000
commitf7f5464ee9b4ee743c528c33891505f15710579a (patch)
tree63cee8e5d4581b5b37c5f449a109205943b13bb9
parentExpand %%X11BASE%% to the appropriate ${X11BASE} value in aclocal, so (diff)
(note automake15 not yet connected to the build)
Fix so that aclocal looks in all appropriate ../share/aclocal* directories.
-rw-r--r--devel/automake15/Makefile8
-rw-r--r--devel/automake15/files/patch-aclocal.in12
2 files changed, 18 insertions, 2 deletions
diff --git a/devel/automake15/Makefile b/devel/automake15/Makefile
index c776339d87f3..2ffb5beb986b 100644
--- a/devel/automake15/Makefile
+++ b/devel/automake15/Makefile
@@ -19,12 +19,14 @@ COMMENT= GNU Standards-compliant Makefile generator (version 1.5)
DEPRECATED= Please use devel/automake18 instead
EXPIRATION_DATE=31st December 2004
+WANT_AUTOCONF_VER=253
+WANT_AUTOCONF_RUN=253
BUILD_VERSION= 15
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
LATEST_LINK= automake${BUILD_VERSION}
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= PERL=${PERL5}
+CONFIGURE_ENV= AUTOCONF=autoconf253 AUTOHEADER=autoheader253 MAKEINFO=makeinfo
CONFIGURE_ARGS= --program-suffix=${BUILD_VERSION}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
@@ -44,7 +46,9 @@ post-patch:
${RM} -f *.info && \
${MV} automake.texi automake${BUILD_VERSION}.texi && \
${REINPLACE_CMD} -E 's,(automake)\.(info),\1${BUILD_VERSION}\.\2,g' automake${BUILD_VERSION}.texi && \
- ${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in \
+ ${REINPLACE_CMD} -E 's,(automake)\.(info|texi),\1${BUILD_VERSION}\.\2,g' Makefile.in && \
+ ${REINPLACE_CMD} -e 's,%%BUILD_VERSION%%,${BUILD_VERSION},g; \
+ s,%%X11BASE%%,${X11BASE},g' aclocal.in \
)
.include <bsd.port.mk>
diff --git a/devel/automake15/files/patch-aclocal.in b/devel/automake15/files/patch-aclocal.in
new file mode 100644
index 000000000000..8492c92e4e19
--- /dev/null
+++ b/devel/automake15/files/patch-aclocal.in
@@ -0,0 +1,12 @@
+--- aclocal.in.orig Tue Jul 17 05:36:23 2001
++++ aclocal.in Tue Jul 6 21:30:44 2004
+@@ -35,2 +35,4 @@
+ $acdir = "@datadir@/aclocal";
++$acdir_ver = "@datadir@/aclocal%%BUILD_VERSION%%";
++$acdir_x11 = '%%X11BASE%%/share/aclocal';
+
+@@ -210,2 +212,4 @@
+ push (@dirlist, $acdir);
++ push (@dirlist, $acdir_ver) if (-d "$acdir_ver/.");
++ push (@dirlist, $acdir_x11) if (-d "$acdir_x11/.");
+