Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40796 - [clearsilver] Perl modules installed to site_perl

Attached to Project: Community Packages
Opened by Justin Davis (juster) - Wednesday, 11 June 2014, 14:24 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 11 June 2014, 14:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

clearsilver installs its perl module files under site_perl, instead of vendor_perl, which is bad. Because the call to Makefile.PL is buried deep in the Makefile you will have to use environment variables to pass along options to Makefile.PL. Here is a patch for the PKGBUILD:

--- a/PKGBUILD 2014-06-11 10:16:56.000000000 -0400
+++ b/PKGBUILD 2014-06-11 10:19:19.000000000 -0400
@@ -43,6 +43,7 @@

package() {
cd $srcdir/$pkgname-$pkgver
+ export PERL_MM_OPT='INSTALLDIRS=vendor'
make PREFIX=$pkgdir DESTDIR=$pkgdir install

install -Dm644 CS_LICENSE $pkgdir/usr/share/licenses/clearsilver/license.txt
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 11 June 2014, 14:31 GMT
Reason for closing:  Fixed

Loading...