summaryrefslogtreecommitdiff
path: root/misc/tmux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tmux/Makefile')
-rw-r--r--misc/tmux/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile
index 3a4ead786ad..47d3220aa1d 100644
--- a/misc/tmux/Makefile
+++ b/misc/tmux/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2018/05/26 17:05:28 leot Exp $
+# $NetBSD: Makefile,v 1.45 2018/06/09 11:23:05 leot Exp $
DISTNAME= tmux-2.7
+PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=tmux/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
@@ -15,6 +16,13 @@ USE_TERMINFO= yes
USE_TOOLS+= pkg-config
+SUBST_CLASSES+= sysconfdir
+SUBST_STAGE.sysconfdir= pre-configure
+SUBST_MESSAGE.sysconfdir= Do not force sysconfdir to /etc
+SUBST_FILES.sysconfdir= configure configure.ac
+SUBST_SED.sysconfdir= -e '/Default tmux\.conf goes in \/etc/d'
+SUBST_SED.sysconfdir+= -e '/sysconfdir=\/etc/d'
+
.include "../../mk/bsd.prefs.mk"
.include "../../mk/compiler.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \