View | Details | Raw Unified | Return to bug 179489
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 31-36 Link Here
31
post-patch:
31
post-patch:
32
	${REINPLACE_CMD}  -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/algotutor
32
	${REINPLACE_CMD}  -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/algotutor
33
	${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor
33
	${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor
34
	${REINPLACE_CMD} -e 's,!!PERL_VERSION!!,${PERL_VERSION},' ${WRKSRC}/algotutor
34
35
35
do-install:
36
do-install:
36
	${MKDIR} ${SITE_PERL}/algotutor
37
	${MKDIR} ${SITE_PERL}/algotutor
(-)files/patch-algotutor (-1 / +1 lines)
Lines 5-11 Link Here
5
 use strict;
5
 use strict;
6
 use Getopt::Std;
6
 use Getopt::Std;
7
-use lib '/usr/share/perl5/algotutor';
7
-use lib '/usr/share/perl5/algotutor';
8
+use lib '!!PREFIX!!/lib/perl5/site_perl/5.8.8/algotutor';
8
+use lib '!!PREFIX!!/lib/perl5/site_perl/!!PERL_VERSION!!/algotutor';
9
 
9
 
10
 BEGIN {
10
 BEGIN {
11
     my ($path) = $0 =~ m#(.*/)#;
11
     my ($path) = $0 =~ m#(.*/)#;

Return to bug 179489