swi-prolog: rebuild for libxcrypt

This commit is contained in:
oreo639 2023-08-30 14:36:16 -07:00 committed by classabbyamp
parent d49d488148
commit 4c1423477c

View file

@ -1,7 +1,7 @@
# Template file for 'swi-prolog' # Template file for 'swi-prolog'
pkgname=swi-prolog pkgname=swi-prolog
version=9.0.4 version=9.0.4
revision=2 revision=3
build_style=cmake build_style=cmake
build_helper="qemu" build_helper="qemu"
configure_args="-DBUILD_TESTING=OFF" configure_args="-DBUILD_TESTING=OFF"
@ -18,3 +18,7 @@ distfiles="http://www.swi-prolog.org/download/stable/src/swipl-${version}.tar.gz
checksum=feb2815a51d34fa81cb34e8149830405935a7e1d1c1950461239750baa8b49f0 checksum=feb2815a51d34fa81cb34e8149830405935a7e1d1c1950461239750baa8b49f0
CFLAGS=-D_FILE_OFFSET_BITS=64 CFLAGS=-D_FILE_OFFSET_BITS=64
CXXFLAGS=-D_FILE_OFFSET_BITS=64 CXXFLAGS=-D_FILE_OFFSET_BITS=64
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi