summaryrefslogtreecommitdiff
path: root/net/hub/Makefile
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-06-10 10:42:56 +0000
committerleot <leot@pkgsrc.org>2018-06-10 10:42:56 +0000
commit91045035daee711c193741f32b7b90361f4e4f90 (patch)
treea77d25845a27ce115eb367bf8500af53a6b00aa4 /net/hub/Makefile
parent742a8ad7a4c5eade674717d9e361bf8a29aabd2f (diff)
downloadpkgsrc-91045035daee711c193741f32b7b90361f4e4f90.tar.gz
hub: Avoid possible vim-isms when vi(1) is used
If the editor used matches the `\b(?:[gm]?vim|vi)(?:\.exe)?$' regular expression hub automatically add as arguments `--cmd'. The `--cmd' passed is probably supported only by vim so delete the `|vi' from the RE in order to not append possible non-standard arguments to non-vim vi-s. (This was spotted using `hub pull-request' that failed due non supported argument passed to vi) Bump PKGREVISION
Diffstat (limited to 'net/hub/Makefile')
-rw-r--r--net/hub/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/hub/Makefile b/net/hub/Makefile
index 6e5d473a0a0..4074dbeb974 100644
--- a/net/hub/Makefile
+++ b/net/hub/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2018/06/01 15:46:43 leot Exp $
+# $NetBSD: Makefile,v 1.6 2018/06/10 10:42:56 leot Exp $
DISTNAME= hub-2.3.0
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=github/}
GITHUB_TAG= v${PKGVERSION_NOREV}