diff options
author | mat <mat@FreeBSD.org> | 2017-07-14 15:57:07 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2017-07-14 15:57:07 +0800 |
commit | 1ff9edc6428f1d64944ba4d33a30fab0b7ccd861 (patch) | |
tree | e8a5a2ce92b61b1945365904c3fba7ec7dc36c6a /devel | |
parent | c21ef6fdf474e8e49729acd996bfcf312aa74338 (diff) | |
download | freebsd-ports-gnome-1ff9edc6428f1d64944ba4d33a30fab0b7ccd861.tar.gz freebsd-ports-gnome-1ff9edc6428f1d64944ba4d33a30fab0b7ccd861.tar.zst freebsd-ports-gnome-1ff9edc6428f1d64944ba4d33a30fab0b7ccd861.zip |
Fix shebang in hooks.
PR: 220716
Reported by: Christian Geier
Sponsored by: Absolight
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gitolite/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/gitolite/Makefile b/devel/gitolite/Makefile index c15099d9b672..76e2a6cfd58f 100644 --- a/devel/gitolite/Makefile +++ b/devel/gitolite/Makefile @@ -3,6 +3,7 @@ PORTNAME= gitolite DISTVERSIONPREFIX=v DISTVERSION= 3.6.7 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel @@ -35,6 +36,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 ${MKDIR} ${WRKSRC}/lib |