gettext: move libintl.h to gettext/libintl.h (avoids conflict with musl).
This commit is contained in:
parent
5fefb5749e
commit
24d79b7925
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gettext'
|
# Template file for 'gettext'
|
||||||
pkgname=gettext
|
pkgname=gettext
|
||||||
version=0.19.4
|
version=0.19.4
|
||||||
revision=8
|
revision=9
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-java --disable-native-java --disable-csharp
|
configure_args="--disable-java --disable-native-java --disable-csharp
|
||||||
|
@ -25,6 +25,14 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
}
|
}
|
||||||
fi
|
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() {
|
gettext-devel-examples_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc+=" - examples for development"
|
short_desc+=" - examples for development"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue