diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template index 47a1b0485ea..c0878d3f4f0 100644 --- a/srcpkgs/perl/template +++ b/srcpkgs/perl/template @@ -223,8 +223,8 @@ do_install() { make DESTDIR=${DESTDIR} install fi - # Set proper perms to shared libs. - find ${DESTDIR} -type f -name \*.so -exec chmod 644 {} \; + find ${DESTDIR}/usr/share -type f -exec chmod 644 {} \; + find ${DESTDIR}/usr/lib -type f -exec chmod 644 {} \; # Make a link from perl${version} to perl. ln -sf perl${version} ${DESTDIR}/usr/bin/perl