From owner-svn-ports-head@FreeBSD.ORG Thu Jun 13 07:01:21 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3A0D62C4; Thu, 13 Jun 2013 07:01:21 +0000 (UTC) (envelope-from az@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2D11F1BD5; Thu, 13 Jun 2013 07:01:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5D71Lhq039932; Thu, 13 Jun 2013 07:01:21 GMT (envelope-from az@svn.freebsd.org) Received: (from az@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5D71Kdn039930; Thu, 13 Jun 2013 07:01:20 GMT (envelope-from az@svn.freebsd.org) Message-Id: <201306130701.r5D71Kdn039930@svn.freebsd.org> From: Andrej Zverev Date: Thu, 13 Jun 2013 07:01:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r320738 - in head/math/algotutor: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 07:01:21 -0000 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#(.*/)#;