pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/tmux
Module Name: pkgsrc
Committed By: leot
Date: Sat Jun 9 11:23:05 UTC 2018
Modified Files:
pkgsrc/misc/tmux: Makefile
Log Message:
tmux: Do not force sysconfdir to `/etc'
When sysconfdir is PREFIX/etc tmux automagically hardcode it to /etc.
This is a bit awkward in the pkgsrc context, so add a SUBST class to avoid this
hardcoding and always honor the --sysconfdir configure argument.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/misc/tmux/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/tmux/Makefile
diff -u pkgsrc/misc/tmux/Makefile:1.44 pkgsrc/misc/tmux/Makefile:1.45
--- pkgsrc/misc/tmux/Makefile:1.44 Sat May 26 17:05:28 2018
+++ pkgsrc/misc/tmux/Makefile Sat Jun 9 11:23:05 2018
@@ -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]-*) && \
Home |
Main Index |
Thread Index |
Old Index