gettext: move libintl.h to gettext/libintl.h (avoids conflict with musl).

This commit is contained in:
Juan RP 2015-05-21 11:45:03 +02:00
parent 5fefb5749e
commit 24d79b7925
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'gettext'
pkgname=gettext
version=0.19.4
revision=8
revision=9
bootstrap=yes
build_style=gnu-configure
configure_args="--disable-java --disable-native-java --disable-csharp
@ -25,6 +25,14 @@ if [ "$CROSS_BUILD" ]; then
}
fi
post_install() {
# Fix conflict with musl.
if [ -e ${DESTDIR}/usr/include/libintl.h ]; then
vmkdir usr/include/gettext
mv ${DESTDIR}/usr/include/libintl.h ${DESTDIR}/usr/include/gettext/libintl.h
fi
}
gettext-devel-examples_package() {
noarch=yes
short_desc+=" - examples for development"