mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
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:
parent
b409dd37b1
commit
de435f3a15
2 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue