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>
This commit is contained in:
B. Watson 2023-05-31 15:28:42 -04:00 committed by Willy Sudiarto Raharjo
parent 560213158e
commit a898706653
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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" \