diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index 9b6f922db9b..3edbed2db5f 100644 --- a/srcpkgs/runit/template +++ b/srcpkgs/runit/template @@ -1,7 +1,7 @@ # Template file for 'runit' pkgname=runit version=2.1.1 -revision=1 +revision=2 wrksrc="admin" short_desc="A UNIX init scheme with service supervision" maintainer="Juan RP " @@ -13,6 +13,8 @@ checksum=ffcf2d27b32f59ac14f2d4b0772a3eb80d9342685a2042b7fbbc472c07cf2a2c do_build() { cd ${pkgname}-${version}/src + sed -e 's,sbin/runit,usr/bin/runit,g' -i runit.h + echo "$CC -D_GNU_SOURCE $CFLAGS" >conf-cc echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >conf-ld # set default service path to /var/service