aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-31 15:28:42 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-03 10:38:36 +0700
commita89870665338a0b5c31267fa015ec2584e28f9ac (patch)
tree0d3986650aaf57075efaea2b0964449f497ed84d /perl
parent560213158e815bd4268a2f2f1856e953fac7000b (diff)
downloadslackbuilds-a89870665338a0b5c31267fa015ec2584e28f9ac.tar.xz
perl/perl-xml-fast: 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')
-rw-r--r--perl/perl-xml-fast/perl-xml-fast.SlackBuild17
1 files changed, 1 insertions, 16 deletions
diff --git a/perl/perl-xml-fast/perl-xml-fast.SlackBuild b/perl/perl-xml-fast/perl-xml-fast.SlackBuild
index 4e4fb1541298..299e9dc14b01 100644
--- a/perl/perl-xml-fast/perl-xml-fast.SlackBuild
+++ b/perl/perl-xml-fast/perl-xml-fast.SlackBuild
@@ -31,20 +31,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
SRCNAM=XML-Fast
@@ -68,8 +54,7 @@ make test
make install DESTDIR=$PKG
gzip $PKG/usr/man/man3/*
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -name '*.so' -exec strip --strip-unneeded '{}' +
find $PKG -name perllocal.pod \
-o -name ".packlist" \