libpagemaker: remove XBPS_GCC_* usage
This commit is contained in:
parent
6967db419a
commit
cb5883fdc2
|
@ -3,6 +3,7 @@ pkgname=libpagemaker
|
||||||
version=0.0.4
|
version=0.0.4
|
||||||
revision=2
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--disable-werror"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="librevenge-devel boost-devel"
|
makedepends="librevenge-devel boost-devel"
|
||||||
short_desc="Parses Aldus/Adobe PageMaker documents"
|
short_desc="Parses Aldus/Adobe PageMaker documents"
|
||||||
|
@ -12,10 +13,6 @@ homepage="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
|
||||||
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d
|
checksum=66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d
|
||||||
|
|
||||||
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then
|
|
||||||
CXXFLAGS+=" -Wno-catch-value"
|
|
||||||
fi
|
|
||||||
|
|
||||||
libpagemaker-devel_package() {
|
libpagemaker-devel_package() {
|
||||||
depends="libpagemaker>=${version}_${revision} librevenge-devel"
|
depends="libpagemaker>=${version}_${revision} librevenge-devel"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in New Issue