void-packages/srcpkgs/patch/template
Đoàn Trần Công Danh 4e2f1e1493 patch: fix bootstrap on x86_64-musl
with or without musl-legacy-compat installed.
2021-05-26 08:50:12 +07:00

19 lines
577 B
Bash

# Template file for 'patch'
pkgname=patch
version=2.7.6
revision=4
bootstrap=yes
build_style=gnu-configure
makedepends="attr-devel"
short_desc="Patch files using diff output"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/patch/patch.html"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd
patch_args="-Np1"
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
export ac_cv_header_sys_cdefs_h=no
fi