pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42155: lang/perl5 vs. DB_File module required for www/ikiwiki

>Number:         42155
>Category:       pkg
>Synopsis:       lang/perl5 vs. DB_File module required for www/ikiwiki
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 06 09:55:00 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        Linux
<organization of PR author (multiple lines)>
System: Linux chel #1 SMP Mon Oct 6 18:40:10 EEST 2008 i686 GNU/Linux
Architecture: i686

www/ikiwiki package doesn't work under Linux and says 

   Error: new(): failed: couldn't load CGI::Session::Driver::db_file: 
   Can't locate in @INC 

This happens because under Linux lang/perl5 is built without
At the same time is built normally under NetBSD.

The following patch fixes the problem.

Build www/ikiwiki under Linux and try to use it.


Index: Makefile
RCS file: /cvsroot/pkgsrc/lang/perl5/Makefile,v
retrieving revision 1.153
diff -u -r1.153 Makefile
--- Makefile    11 Jun 2009 10:35:07 -0000      1.153
+++ Makefile    6 Oct 2009 09:48:53 -0000
@@ -4,7 +4,7 @@
 DISTNAME=      perl-5.10.0
 CATEGORIES=    lang devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/,}
@@ -74,6 +74,7 @@
 CONFIGURE_ARGS+=       -Doptimize=${CFLAGS:M*:Q}
 CONFIGURE_ARGS+=       -Ui_malloc
 CONFIGURE_ARGS+=       -Uinstallusrbinperl
+CONFIGURE_ARGS+=       -Dldflags=${LDFLAGS:Q}\ ${BDB_LIBS:Q}
 MAKE_ENV+=             LC_ALL="C"
 MAKE_JOBS_SAFE=                no
@@ -446,4 +447,10 @@
        } | ${SED} -e "s,^"${PREFIX:Q}"/,," > ${PLIST_SRC}
 .include ""
+.include "../../mk/"
 .include "../../mk/"

Home | Main Index | Thread Index | Old Index