fontforge: unbreak musl

This commit is contained in:
Jürgen Buchmüller 2015-08-22 09:20:46 +02:00
parent 94e17cb6e8
commit 3009b1ed2c
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'fontforge'
pkgname=fontforge
version=20150612
revision=1
revision=2
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
giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
libspiro-devel hicolor-icon-theme desktop-file-utils"
@ -21,6 +21,11 @@ pre_configure() {
./bootstrap
}
pre_build() {
# Disable unused #include <execinfo.h>
sed -i fontforge/cvundoes.c -e "s;\(.*#include <execinfo.h>\);//\1;"
}
post_install() {
vcopy ../Adobe-* usr/share/fontforge
vmkdir usr/share/icons/hicolor