From b76d29be73683dd4318db7f336e66fbed5aef56e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 27 Apr 2014 01:56:38 +0200 Subject: [PATCH] runit: fix path to the runit cmd, sigh. --- srcpkgs/runit/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index 9b6f922db9..3edbed2db5 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