aboutsummaryrefslogtreecommitdiff
path: root/development/pcc
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 16:16:07 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:43 -0500
commit313315e54b5bd0fd93cee3842d9443c916c7ec46 (patch)
tree32bf9bd364df8a01a718cff85cc37440e2df0e15 /development/pcc
parent0b89c93284661295f32ffe1039f31c2128b3e7af (diff)
development/pcc: Fixed (Don't overwrite Slackware's man page)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/pcc')
-rw-r--r--development/pcc/pcc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/pcc/pcc.SlackBuild b/development/pcc/pcc.SlackBuild
index a640a75d951c..01f5f4bf379c 100644
--- a/development/pcc/pcc.SlackBuild
+++ b/development/pcc/pcc.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=pcc
VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,6 +65,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
gzip -9 $PKG/usr/man/man?/*.?
+# Don't overwrite Slackware's man page.
+mv $PKG/usr/man/man1/cpp.1.gz $PKG/usr/man/man1/cpp-pcc.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild