diff options
author | kevlo <kevlo@FreeBSD.org> | 2013-06-13 14:36:05 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2013-06-13 14:36:05 +0800 |
commit | dc9e3d575a410099c0d50e6399ebc33fa35d6094 (patch) | |
tree | f30c6932021c9c1ddcfbf81ae4d9e82f258c340b /math | |
parent | 9d50443e0aee5219573be8c0c93c8fcbdfe5a944 (diff) | |
download | freebsd-ports-gnome-dc9e3d575a410099c0d50e6399ebc33fa35d6094.tar.gz freebsd-ports-gnome-dc9e3d575a410099c0d50e6399ebc33fa35d6094.tar.zst freebsd-ports-gnome-dc9e3d575a410099c0d50e6399ebc33fa35d6094.zip |
Fix build with new site_perl.
Pointed out by: bapt
Diffstat (limited to 'math')
-rw-r--r-- | math/algotutor/Makefile | 2 | ||||
-rw-r--r-- | math/algotutor/files/patch-algotutor | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/math/algotutor/Makefile b/math/algotutor/Makefile index 7669439a86d6..42351bb9be53 100644 --- a/math/algotutor/Makefile +++ b/math/algotutor/Makefile @@ -26,7 +26,7 @@ LIBFILES= BST.pm Board.pm Collection.pm Configurable.pm DCEdge.pm \ post-patch: ${REINPLACE_CMD} -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/algotutor ${PERL} -pi -e "s'!!PREFIX!!'${PREFIX}'g" ${WRKSRC}/algotutor - ${REINPLACE_CMD} -e 's,!!PERL_VERSION!!,${PERL_VERSION},' \ + ${REINPLACE_CMD} -e 's,!!PERL_VER!!,${PERL_VER},' \ ${WRKSRC}/algotutor do-install: diff --git a/math/algotutor/files/patch-algotutor b/math/algotutor/files/patch-algotutor index 0d3ba55e668c..7eda362ab7de 100644 --- a/math/algotutor/files/patch-algotutor +++ b/math/algotutor/files/patch-algotutor @@ -5,7 +5,7 @@ use strict; use Getopt::Std; -use lib '/usr/share/perl5/algotutor'; -+use lib '!!PREFIX!!/lib/perl5/site_perl/!!PERL_VERSION!!/algotutor'; ++use lib '!!PREFIX!!/lib/perl5/site_perl/!!PERL_VER!!/algotutor'; BEGIN { my ($path) = $0 =~ m#(.*/)#; |