Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2017 07:57:07 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445732 - head/devel/gitolite
Message-ID:  <201707140757.v6E7v7TO045150@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Jul 14 07:57:07 2017
New Revision: 445732
URL: https://svnweb.freebsd.org/changeset/ports/445732

Log:
  Fix shebang in hooks.
  
  PR:		220716
  Reported by:	Christian Geier
  Sponsored by:	Absolight

Modified:
  head/devel/gitolite/Makefile   (contents, props changed)

Modified: head/devel/gitolite/Makefile
==============================================================================
--- head/devel/gitolite/Makefile	Fri Jul 14 06:46:24 2017	(r445731)
+++ head/devel/gitolite/Makefile	Fri Jul 14 07:57:07 2017	(r445732)
@@ -3,6 +3,7 @@
 PORTNAME=	gitolite
 DISTVERSIONPREFIX=v
 DISTVERSION=	3.6.7
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel
 
@@ -34,6 +35,10 @@ OPTIONS_SUB=	yes
 
 GITUSER_DESC=	Create git user as gitolite provider
 GITUSER_VARS=	USERS=git GROUPS=git
+
+post-patch:
+	@${REINPLACE_CMD} -i '' -e 's,#!/usr/bin/perl,#!${PERL},' \
+		${WRKSRC}/src/lib/Gitolite/Hooks/*.pm
 
 do-build:
 	echo "${GH_TAGNAME}" > ${WRKSRC}/src/VERSION



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