diff options
author | Cem Keylan <cem@ckyln.com> | 2020-11-17 10:43:41 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-11-17 10:43:41 +0300 |
commit | fa2d79d0236304af90eb3656ac21f93eeb5d738b (patch) | |
tree | 3325b8acb4a0d8f874f2ff022edf105e5211e09a /extra/opendoas/build | |
parent | 637a7ed883026ca75eafac0efb9a9656fcdb2e8b (diff) | |
download | repository-fa2d79d0236304af90eb3656ac21f93eeb5d738b.tar.gz |
opendoas: fix makefile instead of doing all the work
Diffstat (limited to 'extra/opendoas/build')
-rwxr-xr-x | extra/opendoas/build | 11 |
1 files changed, 5 insertions, 6 deletions
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 |