diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index a1c6dda3115..14b4ced5024 100644 --- a/srcpkgs/runit/template +++ b/srcpkgs/runit/template @@ -1,7 +1,7 @@ # Template file for 'runit' pkgname=runit version=2.1.2 -revision=2 +revision=3 wrksrc="admin" short_desc="A UNIX init scheme with service supervision" maintainer="Juan RP " @@ -11,6 +11,12 @@ update_site="${homepage}install.html" distfiles="http://smarden.org/runit/runit-$version.tar.gz" checksum=6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18 +build_options="static" +if [ "$build_option_static" ]; then + CFLAGS+=" -static" + LDFLAGS+=" -static" +fi + do_build() { cd ${pkgname}-${version}/src