diff --git a/srcpkgs/execline/template b/srcpkgs/execline/template index a2bf5437f0..856750ada2 100644 --- a/srcpkgs/execline/template +++ b/srcpkgs/execline/template @@ -1,11 +1,12 @@ # Template file for 'execline' pkgname=execline -version=2.8.0.0 +version=2.8.0.1 revision=1 build_style=configure configure_args="--libdir=/usr/lib --bindir=/usr/bin --with-sysdeps=${XBPS_CROSS_BASE}/usr/lib/skalibs/sysdeps - --with-lib=${XBPS_CROSS_BASE}/usr/lib" + --with-lib=${XBPS_CROSS_BASE}/usr/lib + $(vopt_if static --enable-static-libc)" makedepends="skalibs-devel" short_desc="Non-interactive scripting language" maintainer="mobinmob " @@ -13,17 +14,12 @@ license="ISC" homepage="https://skarnet.org/software/execline/" changelog="https://skarnet.org/software/execline/upgrade.html" distfiles="https://skarnet.org/software/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=e7744b4a400eda68b83dcfb1bce65e454606279882d83d8230ddf8afda25766d +checksum=a373f497d2335905d750e2f3be2ba47a028c11c4a7d5595dca9965c161e53aed CFLAGS="-fPIC" build_options="static" -if [ "$build_option_static" ]; then - CFLAGS="-static" - LDFLAGS="-static" -fi - case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" nsss-devel"