From 49703e7c02f24fcd777f25aaa3557eea334ca2a0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 6 Jul 2023 15:16:42 -0400 Subject: [PATCH] network/ncp: Fix build with new libowfat. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/ncp/ncp.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/network/ncp/ncp.SlackBuild b/network/ncp/ncp.SlackBuild index 5fa5792e7e..4f18477fee 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