pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/plan plan: substitute path to X11R6 in Makefile



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38cab2c6c6ce
branches:  trunk
changeset: 452665:38cab2c6c6ce
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 14 11:40:39 2021 +0000

description:
plan: substitute path to X11R6 in Makefile

diffstat:

 time/plan/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 4e8caa4aa8c9 -r 38cab2c6c6ce time/plan/Makefile
--- a/time/plan/Makefile        Fri May 14 11:38:52 2021 +0000
+++ b/time/plan/Makefile        Fri May 14 11:40:39 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2017/09/03 08:53:16 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2021/05/14 11:40:39 nia Exp $
 
 DISTNAME=      plan-1.9
 PKGREVISION=   1
@@ -12,6 +12,11 @@
 WRKSRC=                ${WRKDIR}/${DISTNAME}/src
 USE_TOOLS+=    yacc lex
 
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths+=    Makefile
+SUBST_SED.paths+=      -e "s,/usr/X11R6,${X11BASE},g"
+
 INSTALLATION_DIRS=     libexec/plan ${PKGMANDIR}/man1 ${PKGMANDIR}/man4 \
                        share/plan/holiday
 



Home | Main Index | Thread Index | Old Index