gprolog: update to 1.5.0.

This commit is contained in:
Leah Neukirchen 2021-07-11 18:35:38 +02:00
parent 3aa64c5d40
commit b83268e5b8

View file

@ -1,9 +1,9 @@
# Template file for 'gprolog'
pkgname=gprolog
version=1.4.5
version=1.5.0
revision=1
build_wrksrc=src
archs="i686* x86_64*"
archs="aarch64* armv7* i686* x86_64*"
build_style=gnu-configure
configure_args="--with-install-dir=/usr/lib/gprolog
--with-doc-dir=/usr/share/doc/gprolog
@ -13,20 +13,13 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later,LGPL-3.0-or-later"
homepage="http://www.gprolog.org/"
distfiles="http://www.gprolog.org/${pkgname}-${version}.tar.gz"
checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
disable_parallel_build=yes
nopie=yes # native asm generated
CFLAGS="-fcommon"
checksum=670642b43c0faa27ebd68961efb17ebe707688f91b6809566ddd606139512c01
nocross=yes
case $XBPS_MACHINE in
i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
esac
post_configure() {
vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
}
post_install() {
mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
${DESTDIR}/usr/share/doc/gprolog