[Slackbuilds-users] small fix for perl-dbd-sqlite

Thomas Morper thomas at beingboiled.info
Sat May 15 12:35:43 UTC 2010


Hello *,

There's a small bug in my SlackBuild for perl-dbd-sqlite. On anything 
else than Slackware 13.0 with Perl 5.10.0 the hardcoded Perl version 
number prevents the $PKG dir from being cleaned up prior to "makepkg".

The problem is in line 76:
  rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0

Quick and dirty solution for the upcoming Slackware 13.1:
  rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.1

A more generic approach:
  find $PKG \( -name perllocal.pod -o -name .packlist \
               -o -name '*.bs' -empty \) -delete
  find $PKG -depth -type d -empty -delete

Could one of the admins please fix this? Thanks!

-- 



More information about the SlackBuilds-users mailing list