chroot-m4: make this build with glibc-2.17.
This commit is contained in:
parent
b5a7dad798
commit
d6cede3cac
1 changed files with 9 additions and 14 deletions
|
@ -1,30 +1,25 @@
|
||||||
# Template build file for 'chroot-m4'.
|
# Template build file for 'chroot-m4'.
|
||||||
pkgname=chroot-m4
|
pkgname=chroot-m4
|
||||||
version=1.4.16
|
version=1.4.16
|
||||||
|
revision=1
|
||||||
wrksrc="m4-${version}"
|
wrksrc="m4-${version}"
|
||||||
distfiles="http://ftp.gnu.org/gnu/m4/m4-$version.tar.bz2"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-included-regex"
|
configure_args="--without-included-regex"
|
||||||
revision=1
|
|
||||||
short_desc="GNU version of UNIX m4 macro language processor -- for xbps-src use"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
||||||
checksum=42500c1fddd90bcb161e6b58de931d769929c495c124112d67428a23543db90c
|
|
||||||
homepage="http://www.gnu.org/software/m4/"
|
homepage="http://www.gnu.org/software/m4/"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
long_desc="
|
short_desc="GNU version of UNIX m4 macro language processor -- for xbps-src use"
|
||||||
GNU m4 is an implementation of the traditional UNIX macro
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
processor. It is mostly SVR4 compatible, although it has some
|
distfiles="http://ftp.gnu.org/gnu/m4/m4-$version.tar.bz2"
|
||||||
extensions (for example, handling more than 9 positional parameters to
|
checksum=42500c1fddd90bcb161e6b58de931d769929c495c124112d67428a23543db90c
|
||||||
macros). m4 also has builtin functions for including files, running
|
|
||||||
shell commands, doing arithmetic, etc. Autoconf needs GNU m4 for
|
|
||||||
generating configure scripts, but not for running them.
|
|
||||||
|
|
||||||
This package is only meant to be used by xbps-src, don't install it manually."
|
|
||||||
|
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
conflicts="m4>=0"
|
conflicts="m4>=0"
|
||||||
provides="m4-${version}"
|
provides="m4-${version}"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
sed -i -e '/gets is a/d' lib/stdio.in.h
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share
|
rm -rf ${DESTDIR}/usr/share
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue