From 00f2a93ecc00aed67221ec4333fc63217c12dc01 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 6 Sep 2020 12:06:15 +0300 Subject: figlet: fix manpage directories --- community/figlet/build | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'community') diff --git a/community/figlet/build b/community/figlet/build index 0c04856d..eb782e43 100755 --- a/community/figlet/build +++ b/community/figlet/build @@ -1,7 +1,14 @@ #!/bin/sh -e -sed '/DECLS/d' utf8.h >_ -cat _ > utf8.h; rm -f _ +sed -i '/DECLS/d' utf8.h -make prefix=/usr -make prefix=/usr DESTDIR="$1" install +mk() { + make \ + prefix=/usr \ + LDFLAGS="$LDFLAGS -static" \ + MANDIR=/usr/share/man \ + "$@" +} + +mk +mk DESTDIR="$1" install -- cgit v1.2.3