system/vcp: Use -fcommon, tweak slack-desc.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-12-28 22:41:54 -05:00 committed by Willy Sudiarto Raharjo
parent b409dd37b1
commit de435f3a15
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 4 deletions

View File

@ -9,8 +9,8 @@
vcp: vcp (copy files via a curses interface)
vcp:
vcp: vcp copies files and directories in a curses interface, with text
vcp: only output available. its options and output are similar to BSD's
vcp: cp while adding some new features. It provides information on:
vcp: only output available. Its options and output are similar to BSD's
vcp: cp while adding some new features. It provides information on:
vcp:
vcp: - files copied and left to copy
vcp: - data written and total data size

View File

@ -6,11 +6,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20221228 bkw: BUILD=2: use -fcommon rather than
# -Wl,--allow-multiple-definitions. It probably doesn't matter,
# but -fcommon is more standard (and easier to grep for).
# Also tweak the slack-desc slightly.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vcp
VERSION=${VERSION:-2.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -57,7 +62,7 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
make CFLAGS="$SLKCFLAGS -Wl,--allow-multiple-definition"
make CFLAGS="$SLKCFLAGS -fcommon"
# "make install" is a mess, do it ourselves:
mkdir -p $PKG/usr/bin $PKG/etc $PKG/usr/man/man1 $PKG/usr/man/pl/man1