Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2013 07:01:20 +0000 (UTC)
From:      Andrej Zverev <az@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320738 - in head/math/algotutor: . files
Message-ID:  <201306130701.r5D71Kdn039930@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: az
Date: Thu Jun 13 07:01:20 2013
New Revision: 320738
URL: http://svnweb.freebsd.org/changeset/ports/320738

Log:
  - Utilize SITE_PERL instead of raw PERL_VER or PERL_VERSION.
  
  Approved by:	kevlo@ (via IRC)

Modified:
  head/math/algotutor/Makefile   (contents, props changed)
  head/math/algotutor/files/patch-algotutor   (contents, props changed)

Modified: head/math/algotutor/Makefile
==============================================================================
--- head/math/algotutor/Makefile	Thu Jun 13 06:43:08 2013	(r320737)
+++ head/math/algotutor/Makefile	Thu Jun 13 07:01:20 2013	(r320738)
@@ -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_VER!!,${PERL_VER},' \
+	${REINPLACE_CMD} -e 's,!!SITE_PERL!!,${SITE_PERL},' \
 		${WRKSRC}/algotutor
 
 do-install:

Modified: head/math/algotutor/files/patch-algotutor
==============================================================================
--- head/math/algotutor/files/patch-algotutor	Thu Jun 13 06:43:08 2013	(r320737)
+++ head/math/algotutor/files/patch-algotutor	Thu Jun 13 07:01:20 2013	(r320738)
@@ -5,7 +5,7 @@
  use strict;
  use Getopt::Std;
 -use lib '/usr/share/perl5/algotutor';
-+use lib '!!PREFIX!!/lib/perl5/site_perl/!!PERL_VER!!/algotutor';
++use lib '!!SITE_PERL!!/algotutor';
  
  BEGIN {
      my ($path) = $0 =~ m#(.*/)#;



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