# Template file for 'polyml' pkgname=polyml version=5.7 revision=1 build_style=gnu-configure configure_args="--with-system-libffi --enable-shared" case "$XBPS_TARGET_MACHINE" in i686-musl|x86_64-musl) # musl doesn't allow writing to .rodata and .text during # relocation, but polyexport.o contains DT_TEXTREL # since libpolyml/elfexport.cpp only creates absolute # relocations. Drop PIE and do relocations at link time. nopie=yes;; i686*|x86_64*) ;; *) configure_args+=" --disable-native-codegeneration" ;; esac makedepends="gmp-devel libffi-devel" conflicts="mesa-demos>=0" # /usr/bin/poly short_desc="The Poly/ML Standard ML (SML) implementation" maintainer="Leah Neukirchen " license="LGPL-2.1" homepage="http://www.polyml.org/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" checksum=19340d8e9cea15c3fd786dde27028cd2947608955a376d1317a20268c8a19279 nocross=yes # Since this is a compiler, no -devel package.