| # Copyright 1999-2007 Gentoo Foundation |
# Copyright 1999-2008 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
| # $Header$ |
# $Header$ |
| |
|
| unpack ${A} |
unpack ${A} |
| cd "${S}" |
cd "${S}" |
| epatch "${FILESDIR}"/${PN}-2.4.39-gettext.patch |
epatch "${FILESDIR}"/${PN}-2.4.39-gettext.patch |
| |
epatch "${FILESDIR}"/${PN}-2.4.39-linguas.patch #205948 |
| epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch |
epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch |
| sed -i \ |
sed -i \ |
| -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ |
-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \ |
| -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ |
-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \ |
| include/builddefs.in \ |
include/builddefs.in \ |
| || die "failed to update builddefs" |
|| die "failed to update builddefs" |
| |
# libtool will clobber install-sh which is really a custom file |
| |
mv install-sh acl.install-sh || die |
| AT_M4DIR="m4" eautoreconf |
AT_M4DIR="m4" eautoreconf |
| |
mv acl.install-sh install-sh || die |
| |
strip-linguas po |
| } |
} |
| |
|
| src_compile() { |
src_compile() { |