From owner-svn-ports-head@FreeBSD.ORG Sun Aug 17 00:30:19 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 507E6EEF; Sun, 17 Aug 2014 00:30:19 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C4FF2DDC; Sun, 17 Aug 2014 00:30:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7H0UJBZ055013; Sun, 17 Aug 2014 00:30:19 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7H0UJYU055012; Sun, 17 Aug 2014 00:30:19 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201408170030.s7H0UJYU055012@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 17 Aug 2014 00:30:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365145 - in head/devel/cvsweb3: . 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.18-1 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: Sun, 17 Aug 2014 00:30:19 -0000 Author: marino Date: Sun Aug 17 00:30:18 2014 New Revision: 365145 URL: http://svnweb.freebsd.org/changeset/ports/365145 QAT: https://qat.redports.org/buildarchive/r365145/ Log: devel/cvsweb3: Update cvsweb3.cgi for newer versions of perl Remove patch to cvsweb3.cgi and implement all the necessary changes only with sed which is already being used and shebangfix. This change to the qw line is needed for the recent versions of perl. PR: 192712 Submitted by: Dennis Glatting Approved by: Just Fix It Deleted: head/devel/cvsweb3/files/patch-cvsweb.cgi Modified: head/devel/cvsweb3/Makefile Modified: head/devel/cvsweb3/Makefile ============================================================================== --- head/devel/cvsweb3/Makefile Sun Aug 17 00:03:32 2014 (r365144) +++ head/devel/cvsweb3/Makefile Sun Aug 17 00:30:18 2014 (r365145) @@ -3,7 +3,7 @@ PORTNAME= cvsweb PORTVERSION= 3.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_LOCAL} \ http://people.FreeBSD.org/~scop/cvsweb/ @@ -30,7 +30,8 @@ RUN_DEPENDS+= enscript:${PORTSDIR}/print CONFLICTS= cvsweb-2.* -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= cvsweb.cgi NO_BUILD= yes .include @@ -75,9 +76,8 @@ SUB_FILES= pkg-message SUB_LIST= PREFIX="${PREFIX}" DOCSDIR="${DOCSDIR}" post-patch: - @${REINPLACE_CMD} -i '' -e 's,!!PERL!!,${PERL},' \ - -e 's,!!PREFIX!!,${PREFIX},' \ - ${WRKSRC}/cvsweb.cgi + @${SED} -i '' -e 's,/usr/local/etc/,${PREFIX}/etc/,' \ + -e 's,\(qw(hi.*)\),(\1),' ${WRKSRC}/cvsweb.cgi @${REINPLACE_CMD} -i '' -e 's,!!PREFIX!!,${PREFIX},' \ -e 's,!!CVSROOT!!,${CVSROOT},' \ -e 's,!!TITLE!!,${TITLE},' \