inkscape: fix build; needs which in hostmakedepends

This commit is contained in:
Jürgen Buchmüller 2020-01-17 12:25:48 +01:00
parent 223af1d6fc
commit b93d9f8380

View file

@ -5,9 +5,9 @@ revision=7
wrksrc="${pkgname}-INKSCAPE_${version//./_}"
build_style=gnu-configure
configure_args="--enable-lcms --enable-poppler-cairo
--without-gnome-vfs --disable-static"
--without-gnome-vfs --disable-static --disable-strict-build"
hostmakedepends="automake pkg-config libtool intltool gettext-devel
glib-devel perl-XML-Parser"
glib-devel perl-XML-Parser which"
makedepends="popt-devel libpng-devel gsl-devel gc-devel gtkmm2-devel libxslt-devel
lcms2-devel poppler-glib-devel boost-devel libmagick6-devel
libvisio-devel libwpg-devel libcdr-devel dbus-glib-devel libgomp-devel
@ -21,7 +21,8 @@ distfiles="https://gitlab.com/inkscape/inkscape/-/archive/INKSCAPE_${version//./
checksum=b8f16d1417d3ed8d3cb32a68f64f8f31ae4c6553bb556f71b6590c4e2cb3cfb4
# Use c++11 mode and reduce log spam due to gcc6 warnings
CXXFLAGS="-std=c++11 -Wno-deprecated -Wno-misleading-indentation -Wno-cast-align"
CXXFLAGS="-std=c++11 -Wno-deprecated -Wno-deprecated-declarations -Wno-deprecated-copy"
CXXFLAGS+=" -Wno-parentheses -Wno-misleading-indentation -Wno-cast-align"
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) makedepends+=" libatomic_ops-devel" ;;