20 lines
577 B
Bash
20 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
|