wok diff open-iscsi/receipt @ rev 22487

updated apcupsd (3.14.9 -> 3.14.14)
author Hans-G?nter Theisgen
date Tue Dec 31 13:16:39 2019 +0100 (2019-12-31)
parents e1df1504e6cb
children 05c8d8d9d934
line diff
     1.1 --- a/open-iscsi/receipt	Tue Dec 18 10:36:14 2018 +0100
     1.2 +++ b/open-iscsi/receipt	Tue Dec 31 13:16:39 2019 +0100
     1.3 @@ -11,6 +11,7 @@
     1.4  WGET_URL="${WEB_SITE}bits/$TARBALL"
     1.5  
     1.6  DEPENDS="linux-scsi"
     1.7 +BUILD_DEPENDS="linux-module-headers"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11 @@ -19,6 +20,7 @@
    1.12  	sed -i 's|dirent.h>|&\n#include <sys/types.h>\n#include <sys/stat.h>|' \
    1.13  		usr/iscsi_sysfs.c
    1.14  	sed -i "s|/etc/iscsi/initiatorname.iscsi|$DESTDIR&|" Makefile
    1.15 +	sed -i "s|/sbin/iscsi-iname|$DESTDIR&|" Makefile
    1.16  	make KSRC=/usr/src/linux KARCH=i686 user
    1.17  	make DESTDIR=$DESTDIR install
    1.18  }