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

Robby Workman rworkman at slackbuilds.org
Sun May 16 02:27:20 UTC 2010


On Sat, 15 May 2010 14:35:43 +0200
Thomas Morper <thomas at beingboiled.info> wrote:

> 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!
> 


Done in local branch ; will be in next public update.

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100515/76bf797f/attachment-0001.asc>


More information about the SlackBuilds-users mailing list