svn commit: r320736 - in head/math/algotutor: . files

Kevin Lo kevlo at FreeBSD.org
Thu Jun 13 06:36:06 UTC 2013


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#(.*/)#;


More information about the svn-ports-all mailing list