Merge pull request #2333 from pullmoll/fontforge

fontforge: unbreak musl
This commit is contained in:
Jürgen Buchmüller 2015-08-22 18:15:46 +02:00
commit 2eaaab34fe

View file

@ -1,9 +1,9 @@
# Template file for 'fontforge' # Template file for 'fontforge'
pkgname=fontforge pkgname=fontforge
version=20150612 version=20150612
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="automake libtool libltdl-devel pkg-config git python" hostmakedepends="automake libtool libltdl-devel pkg-config git python ca-certificates"
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
libspiro-devel hicolor-icon-theme desktop-file-utils" libspiro-devel hicolor-icon-theme desktop-file-utils"
@ -21,6 +21,11 @@ pre_configure() {
./bootstrap ./bootstrap
} }
pre_build() {
# Disable unused #include <execinfo.h>
sed -i fontforge/cvundoes.c -e "s;\(.*#include <execinfo.h>\);//\1;"
}
post_install() { post_install() {
vcopy ../Adobe-* usr/share/fontforge vcopy ../Adobe-* usr/share/fontforge
vmkdir usr/share/icons/hicolor vmkdir usr/share/icons/hicolor