diff options
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-xml-fast/perl-xml-fast.SlackBuild | 17 |
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 4e4fb15412984..299e9dc14b014 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" \ |