New package: autoconf213-2.13

This reverts commit d545f2685c.

Needed to build firefox 47 as it's missing some of the pregenerated
configure scripts we normally use.

Revert "autoconf213: removed; not required to build any pkg..."
This commit is contained in:
Duncaen 2016-07-05 17:03:09 +02:00
parent baf4e3c0f2
commit d73ded41e2
4 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1,50 @@
$NetBSD: patch-aa,v 1.2 2006/11/02 18:17:22 joerg Exp $
--- Makefile.in.orig 1999-01-05 13:27:16.000000000 +0000
+++ Makefile.in
@@ -137,36 +137,32 @@ installcheck: all install
cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
installdirs:
- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
+ $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(infodir) ${DESTDIR}$(acdatadir)
install: all $(M4FILES) acconfig.h installdirs install-info
for p in $(ASCRIPTS); do \
- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ $(INSTALL) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
done
for i in $(M4FROZEN); do \
- $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
+ $(INSTALL_DATA) $$i ${DESTDIR}$(acdatadir)/$$i; \
done
for i in $(M4FILES) acconfig.h; do \
- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
done
-if test -f autoscan; then \
- $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
+ $(INSTALL) autoscan ${DESTDIR}$(bindir)/`echo autoscan|sed '$(transform)'`; \
for i in acfunctions acheaders acidentifiers acprograms \
- acmakevars; do \
- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
+ acmakevars config.guess config.sub; do \
+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
done; \
else :; fi
# Don't cd, to avoid breaking install-sh references.
install-info: info installdirs
if test -f autoconf.info; then \
- for i in *.info*; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i; \
- done; \
+ $(INSTALL_DATA) autoconf.info ${DESTDIR}$(infodir)/autoconf213.info; \
else \
- for i in $(srcdir)/*.info*; do \
- $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
- done; \
+ $(INSTALL_DATA) $(srcdir)/autoconf.info ${DESTDIR}$(infodir)/autoconf213.info; \
fi
uninstall:

View file

@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.1.1.1 2002/10/03 19:25:04 wiz Exp $
--- autoconf.texi.orig Tue Jan 5 14:28:37 1999
+++ autoconf.texi
@@ -4,6 +4,7 @@
@settitle Autoconf
@c For double-sided printing, uncomment:
@c @setchapternewpage odd
+@dircategory Programming & development tools
@c %**end of header
@set EDITION 2.13
@@ -17,7 +18,7 @@
@ifinfo
@format
START-INFO-DIR-ENTRY
-* Autoconf: (autoconf). Create source code configuration scripts.
+* Autoconf-2.13: (autoconf213). Create source code configuration scripts.
END-INFO-DIR-ENTRY
@end format

View file

@ -0,0 +1,22 @@
$NetBSD: patch-ac,v 1.1.1.1 2002/10/03 19:25:04 wiz Exp $
--- autoreconf.sh.orig Tue Jan 5 14:28:40 1999
+++ autoreconf.sh
@@ -143,7 +143,7 @@ while read dir; do
:
else
test $verbose = yes && echo running aclocal in $dir, creating $aclocal
- aclocal --output=$aclocal -I `echo $aclocal | sed 's,/*[^/]*$,,;s,^$,.,'`
+ aclocal-1.4 --output=$aclocal -I `echo $aclocal | sed 's,/*[^/]*$,,;s,^$,.,'`
fi
fi
@@ -154,7 +154,7 @@ while read dir; do
amforce=
test $force = no && amforce=--no-force
test $verbose = yes && echo running automake`test x"$amforce" = x || echo " ($amforce)"` in $dir
- automake $amforce $automake_mode $automake_deps
+ automake-1.4 $amforce $automake_mode $automake_deps
fi
test ! -f $aclocal && aclocal=

View file

@ -0,0 +1,22 @@
# Template build file for 'autoconf213'.
pkgname=autoconf213
version=2.13
revision=3
noarch=yes
build_style=gnu-configure
configure_args="--program-suffix='-2.13'"
wrksrc="autoconf-${version}"
hostmakedepends="perl m4"
depends="virtual?awk diffutils m4"
short_desc="Generates automatic source code configuration scripts (2.13 version)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, GPL-3"
homepage="http://www.gnu.org/software/autoconf"
distfiles="http://ftp.gnu.org/gnu/autoconf/autoconf-$version.tar.gz"
checksum=f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
post_install() {
# Avoid conflict with other versions.
mv ${DESTDIR}/usr/share/autoconf ${DESTDIR}/usr/share/autoconf213
sed -e 's,/usr/share/autoconf,/usr/share/autoconf213,g' -i ${DESTDIR}/usr/bin/*
}