svn commit: r320738 - in head/math/algotutor: . files
Andrej Zverev
az at FreeBSD.org
Thu Jun 13 07:01:21 UTC 2013
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#(.*/)#;
More information about the svn-ports-head
mailing list