mdadm: override sendmail command, default points to /usr/lib which is obsolete

This commit is contained in:
Enno Boland 2019-04-04 14:31:45 +02:00
parent 5004918206
commit 53b2af2171
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mdadm'
pkgname=mdadm
version=4.1
revision=1
revision=2
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="Tool for managing/monitoring Linux md device arrays"
@ -16,7 +16,7 @@ pre_configure() {
}
do_build() {
make ${makejobs} CC=$CC \
CFLAGS="$CFLAGS -DNO_COROSYNC -DNO_DLM -Wno-error" \
CFLAGS="$CFLAGS -DNO_COROSYNC -DNO_DLM -Wno-error -DSendmail='\"sendmail -t\"'" \
BINDIR=/usr/bin LDFLAGS="$LDFLAGS"
}
do_install() {