dot

packages and services management
Log | Files | Refs | README

commit a6bd3b2383a092c93994a840a805fe5331ff6433
parent 34531a548fe1bfd0f61d1b38e722be31fb34be5b
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 18 Nov 2018 12:06:54 +0100

pack/sqmail: fix build on sbase-based system

Diffstat:
Mpack/sqmail/build | 14++++----------
Mpack/ucspi-ssl/build | 2+-
2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/pack/sqmail/build b/pack/sqmail/build @@ -2,12 +2,9 @@ ! mv sqmail/*/* .; rm -rf sqmail -sed 's/env - /env/' package/compile >$$ -mv $$ package/compile -chmod +x package/compile - mkdir -p compile /var/qmail "$PREFIX" +echo "cc -O2 -include /usr/include/errno.h -I/usr/local/include -I$libressl/include -pipe -Wall" >conf-cc echo "-L$libressl/lib -lssl -lcrypto" >compile/ssl.lib echo "$ucspi_ssl" | sed s/pkg/src/ >conf-ucspissl echo "$PREFIX/man" >conf-man @@ -15,11 +12,8 @@ echo "$PREFIX/man" >conf-man cp "$ucspi_ssl/lib/ucspissl.a" compile rm -rf /var/qmail/bin -package/compile -package/dir -package/ids -package/ucspissl -package/compile -package/legacy +for f in ids dir ucspissl compile legacy; do + sed 's/env - /env/' package/$f | sh +done mv /var/qmail/bin "$PREFIX/bin" diff --git a/pack/ucspi-ssl/build b/pack/ucspi-ssl/build @@ -13,7 +13,7 @@ echo "-L$libressl/lib -lssl -lcrypto" >conf-ssllib echo "cc -s -L$libressl/lib -L$libfehq/lib -lssl -lcrypto" >conf-ld echo "-lssl -lcrypto" >compile/ssl.lib -package/compile +sed 's/env - /env/' package/compile | sh mkdir -p "$PREFIX/man/man1"; cp -r man/*.1 "$PREFIX/man/man1" mkdir -p "$PREFIX/man/man2"; cp -r man/*.2 "$PREFIX/man/man2"