mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
open-iscsi: update to 2.1.10.
This commit is contained in:
parent
56d7fc536c
commit
b45ab0b41b
1 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'open-iscsi'
|
||||
pkgname=open-iscsi
|
||||
version=2.1.9
|
||||
revision=3
|
||||
version=2.1.10
|
||||
revision=1
|
||||
conf_files="/etc/iscsi/iscsid.conf /etc/iscsi/initiatorname.iscsi"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
|
@ -11,10 +11,10 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="GPL-2.0-or-later"
|
||||
homepage="http://www.open-iscsi.com/"
|
||||
distfiles="https://github.com/open-iscsi/open-iscsi/archive/${version}.tar.gz"
|
||||
checksum=60e2a1e3058a8af7f702e86a5a0511b05b8754d29d3d2df4e0e301399b5cf70a
|
||||
checksum=12c19f65f9136b87ac11bf5bbe5eb3e23de4e7f1ee07eecda830da53a2316113
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) CFLAGS+=" -DGLOB_ONLYDIR=0 -D_LINUX_IF_ETHER_H -Wno-error=format -Wno-error=cpp";;
|
||||
*-musl) CFLAGS+=" -DGLOB_ONLYDIR=0 -D_LINUX_IF_ETHER_H";;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
|
@ -30,6 +30,7 @@ do_configure() {
|
|||
|
||||
do_build() {
|
||||
make ${makejobs} CC="$CC" \
|
||||
WARNFLAGS="-Wall -Wextra -Wstrict-prototypes -fno-common" \
|
||||
OPTFLAGS="$CFLAGS $(pkg-config --cflags libkmod) -pthread -DNO_SYSTEMD" \
|
||||
LDFLAGS="$LDFLAGS $(pkg-config --libs libkmod) -pthread" NO_SYSTEMD=1
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue