fox: force xbps-src CFLAGS, do not build internal strtoll.
This commit is contained in:
parent
8e763f846d
commit
0974b760ac
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'fox'
|
||||
pkgname=fox
|
||||
version=1.6.51
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-release --with-xft=yes --with-opengl=yes --with-xim
|
||||
--with-xshm --with-shape --with-xcursor --with-xrender --with-xrandr
|
||||
--with-xfixes --with-xinput"
|
||||
--with-xfixes --with-xinput
|
||||
ac_cv_func_strtoll=yes"
|
||||
makedepends="zlib-devel bzip2-devel libXcursor-devel libXft-devel libXrandr-devel
|
||||
libXi-devel libpng-devel tiff-devel glu-devel"
|
||||
short_desc="Free Objects for X: GUI Toolkit for C++"
|
||||
|
@ -14,10 +15,17 @@ homepage="http://www.fox-toolkit.org/"
|
|||
license="LGPL-2.1, MIT"
|
||||
distfiles="http://ftp.fox-toolkit.org/pub/fox-$version.tar.gz"
|
||||
checksum=15a99792965d933a4936e48b671c039657546bdec6a318c223ab1131624403d1
|
||||
broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/9960"
|
||||
|
||||
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
|
||||
|
||||
pre_configure() {
|
||||
sed -i "/strtoll.\(cpp\|obj\)/d; s/strtoll.lo//" src/Makefile.in
|
||||
}
|
||||
|
||||
pre_build() {
|
||||
sed -i "s#CXXFLAGS =.*#\0 $CXXFLAGS#" $(find -name Makefile)
|
||||
}
|
||||
|
||||
fox-devel_package() {
|
||||
depends="${makedepends} fox-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in New Issue