gettext: Backport updated macros from gettext 0.17 to avoid conflicts with libtool

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4272 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2008-04-15 14:23:12 +00:00
parent fe074c7bc5
commit a8ed061261
2 changed files with 16 additions and 1 deletions

View File

@ -50,4 +50,11 @@ do_stage_append() {
fi
install -m 0644 $src ${STAGING_DATADIR}/aclocal/$i
done
# config.rpath is needed by some configure macros and needs to be autoinstalled.
# automake will do this but config.rpath needs to be visible to automake
for i in `ls -d ${STAGING_DATADIR}/automake*`
do
cp ${STAGING_DATADIR}/gettext/config.rpath $i
done
}

View File

@ -2,12 +2,13 @@ DESCRIPTION = "The GNU internationalization library."
HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
SECTION = "libs"
LICENSE = "GPL"
PR = "r8"
PR = "r10"
PROVIDES = "virtual/libintl"
SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
file://gettext-vpath.patch;patch=1;pnum=1 \
file://fixchicken.patch;patch=1;pnum=1 \
file://linklib_from_0.17.patch;patch=1 \
file://getline.m4.patch;patch=1 \
file://disable_java.patch;patch=1"
@ -30,4 +31,11 @@ do_configure_prepend() {
do_stage () {
autotools_stage_all
# config.rpath is needed by some configure macros and needs to be autoinstalled.
# automake will do this but config.rpath needs to be visible to automake
for i in `ls -d ${STAGING_DATADIR}/automake*`
do
cp ${STAGING_DATADIR}/gettext/config.rpath $i
done
}