summaryrefslogtreecommitdiffstats
path: root/perl/perl-IO-Tty
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-05-31 15:11:45 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-03 10:38:35 +0700
commit22e666ee413cb6fa4f6c5ea21757bd8de709a685 (patch)
tree44acb776d001d95f7d132f9bd974a03e1e2bf3c3 /perl/perl-IO-Tty
parentdb42ee4d1af192bddf66e8570a831cac77b357b4 (diff)
downloadslackbuilds-22e666ee413cb6fa4f6c5ea21757bd8de709a685.tar.gz
slackbuilds-22e666ee413cb6fa4f6c5ea21757bd8de709a685.tar.xz
perl/perl-IO-Tty: Get rid of unused LIBDIRSUFFIX and SLKCFLAGS.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-IO-Tty')
-rw-r--r--perl/perl-IO-Tty/perl-IO-Tty.SlackBuild23
1 files changed, 4 insertions, 19 deletions
diff --git a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
index f2b407fcf8..e76776bcfb 100644
--- a/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
+++ b/perl/perl-IO-Tty/perl-IO-Tty.SlackBuild
@@ -40,20 +40,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -80,11 +66,10 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f
find $PKG -depth -type d -empty -delete || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- ChangeLog README* \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a ChangeLog README* $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc