diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-06 15:16:42 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-08 16:42:08 +0700 |
commit | 49703e7c02f24fcd777f25aaa3557eea334ca2a0 (patch) | |
tree | b4af56cfa28df114dab03e8f6aa009efcb8c0683 /network | |
parent | 9f932ad9e2caf89ba1f773f4f4bbffed64b1c7d9 (diff) |
network/ncp: Fix build with new libowfat.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/ncp/ncp.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/network/ncp/ncp.SlackBuild b/network/ncp/ncp.SlackBuild index 5fa5792e7e27f..4f18477feefbf 100644 --- a/network/ncp/ncp.SlackBuild +++ b/network/ncp/ncp.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230706 bkw: BUILD=4, someone updated libowfat and broke my build. # 20230103 bkw: BUILD=3, how did I miss broken symlinks? # 20220207 bkw: BUILD=2, libowfat changed its dir structure. @@ -13,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ncp VERSION=${VERSION:-1.2.4} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -67,7 +68,8 @@ sed -i 's,ln -f,ln -s,' GNUmakefile # The libowfat detection stuff needs a little help... -make PREFIX=/usr CFLAGS="$SLKCFLAGS -Wl,-s -I/opt/diet/include/libowfat -L$L" +INC="-I/opt/diet/include/libowfat -I/opt/diet/include" +make PREFIX=/usr CFLAGS="$SLKCFLAGS -Wl,-s $INC -L$L" make install PREFIX=$PKG/usr gzip $PKG/usr/man/man1/*.1 ln -s npush.1.gz $PKG/usr/man/man1/npoll.1.gz |