From fa2d79d0236304af90eb3656ac21f93eeb5d738b Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 17 Nov 2020 10:43:41 +0300 Subject: opendoas: fix makefile instead of doing all the work --- extra/opendoas/build | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'extra/opendoas/build') diff --git a/extra/opendoas/build b/extra/opendoas/build index 25819524..31d85d1c 100755 --- a/extra/opendoas/build +++ b/extra/opendoas/build @@ -1,16 +1,15 @@ #!/bin/sh -e ./configure \ + --prefix=/usr \ --enable-static \ --with-timestamp \ --without-pam +# Do not change ownership as the package manager handles this. +sed -i /chown/d GNUmakefile + make +make DESTDIR="$1" install -install -Dm4755 doas "$1/usr/bin/doas" install -Dm640 doas.conf "$1/etc/doas.conf" - -# Install manual pages. -for man in doas.1 doas.conf.5; do - install -Dm644 "$man" "$1/usr/share/man/man${man##*.}/$man" -done -- cgit v1.2.3