diff --git a/srcpkgs/txr/template b/srcpkgs/txr/template index d9b0e96ebe5..0f60fe1d4d0 100644 --- a/srcpkgs/txr/template +++ b/srcpkgs/txr/template @@ -1,7 +1,7 @@ # Template file for 'txr' pkgname=txr version=282 -revision=1 +revision=2 archs="x86_64* i686* aarch64* arm* ppc64* mips*" build_style=configure configure_args="--prefix=/usr" @@ -16,6 +16,10 @@ distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz checksum=5f10467610d8213be9af8a1fc9dafbd4902b7b473a82d8b2945cfa5ea6d2fee5 nopie=yes +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" txr" fi