tgt: update to 1.0.74.
This commit is contained in:
parent
0b2dc5acf4
commit
faeed621be
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'tgt'
|
# Template file for 'tgt'
|
||||||
pkgname=tgt
|
pkgname=tgt
|
||||||
version=1.0.73
|
version=1.0.74
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="sbindir=/usr/bin"
|
make_install_args="sbindir=/usr/bin"
|
||||||
|
@ -10,13 +10,13 @@ hostmakedepends="libxslt docbook-xsl"
|
||||||
depends="perl-Config-General"
|
depends="perl-Config-General"
|
||||||
short_desc="Linux SCSI target framework"
|
short_desc="Linux SCSI target framework"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-3"
|
license="GPL-2.0-only"
|
||||||
homepage="http://stgt.sourceforge.net/"
|
homepage="http://stgt.sourceforge.net/"
|
||||||
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz"
|
||||||
checksum=2e3899a2235386a68df8cbf0eccb6a44e221a3e9e6bd9215c903c3fc9ed34bbf
|
checksum=bfc202790d5326d7a18bd3928b4bb204ffb0acf443a5ec5c16a1a0fbc53be99f
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS)/g' usr/Makefile
|
sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile
|
||||||
sed -i '/^LDFLAGS/d; /CC.*-o/s/$/ $(LDFLAGS)/' usr/Makefile
|
sed -i '/^LDFLAGS/d; /CC.*-o/s/$/ $(LDFLAGS)/' usr/Makefile
|
||||||
sed -i '1i#include <sys/user.h>' usr/tgtd.h usr/util.h
|
sed -i '1i#include <sys/user.h>' usr/tgtd.h usr/util.h
|
||||||
sed -i '1i#include <fcntl.h>' usr/libssc.c
|
sed -i '1i#include <fcntl.h>' usr/libssc.c
|
||||||
|
|
Loading…
Reference in a new issue