void-packages/srcpkgs/pkg-config/template
Jürgen Buchmüller e09cf703b9 pkg-config: fix mips* build
The autoconf cache presets for glib_cv_stack_grows and glib_cv_uscore
don't work for all mips* targets thus add them to configure_args.
2018-02-26 12:28:03 +01:00

19 lines
665 B
Bash

# Template build file for 'pkg-config'
pkgname=pkg-config
version=0.29.2
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="--with-internal-glib --disable-host-tool"
# required for gcc6 bootstrap
hostmakedepends="gcc"
short_desc="System for managing library compile/link flags"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://pkgconfig.freedesktop.org/wiki/"
license="GPL-2"
distfiles="http://pkgconfig.freedesktop.org/releases/$pkgname-$version.tar.gz"
checksum=6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591
case "$XBPS_TARGET_MACHINE" in
mips*) configure_args+=" glib_cv_stack_grows=no glib_cv_uscore=no" ;;
esac