Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2013 06:36:05 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320736 - in head/math/algotutor: . files
Message-ID:  <201306130636.r5D6a5Wh031398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Thu Jun 13 06:36:05 2013
New Revision: 320736
URL: http://svnweb.freebsd.org/changeset/ports/320736

Log:
  Fix build with new site_perl.
  
  Pointed out by:	bapt

Modified:
  head/math/algotutor/Makefile
  head/math/algotutor/files/patch-algotutor

Modified: head/math/algotutor/Makefile
==============================================================================
--- head/math/algotutor/Makefile	Thu Jun 13 06:13:18 2013	(r320735)
+++ head/math/algotutor/Makefile	Thu Jun 13 06:36:05 2013	(r320736)
@@ -26,7 +26,7 @@ LIBFILES=	BST.pm Board.pm Collection.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:

Modified: head/math/algotutor/files/patch-algotutor
==============================================================================
--- head/math/algotutor/files/patch-algotutor	Thu Jun 13 06:13:18 2013	(r320735)
+++ head/math/algotutor/files/patch-algotutor	Thu Jun 13 06:36:05 2013	(r320736)
@@ -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#(.*/)#;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306130636.r5D6a5Wh031398>