From 438f9665ed231d666233cf3d721c24510d0d3b62 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 29 Mar 2020 06:56:48 +0000 Subject: chat/anope: fix hard-coded /usr/pkg in patch --- chat/anope/Makefile | 8 +++----- chat/anope/distinfo | 4 ++-- chat/anope/patches/patch-data_example.conf | 6 +++--- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'chat') diff --git a/chat/anope/Makefile b/chat/anope/Makefile index 7e54ec63c30..5500771c1cc 100644 --- a/chat/anope/Makefile +++ b/chat/anope/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.30 2020/03/08 16:48:54 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2020/03/29 06:56:48 rillig Exp $ DISTNAME= anope-2.0.7-source PKGNAME= ${DISTNAME:S/-source//1} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= chat MASTER_SITES= ${MASTER_SITE_GITHUB:=anope/} GITHUB_PROJECT= anope @@ -50,9 +50,7 @@ SUBST_CLASSES+= conf SUBST_STAGE.conf= pre-configure SUBST_MESSAGE.conf= Set variables in configuration file. SUBST_FILES.conf+= data/example.conf -SUBST_VARS.conf= PREFIX -SUBST_VARS.conf+= PKG_SYSCONFDIR -SUBST_VARS.conf+= PKGLOCALEDIR +SUBST_VARS.conf= PREFIX PKG_SYSCONFDIR RCD_SCRIPTS= anope diff --git a/chat/anope/distinfo b/chat/anope/distinfo index 56814d8eefb..5170e90294d 100644 --- a/chat/anope/distinfo +++ b/chat/anope/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2020/01/10 15:27:25 nia Exp $ +$NetBSD: distinfo,v 1.13 2020/03/29 06:56:48 rillig Exp $ SHA1 (anope-2.0.7-source.tar.gz) = 298c21edbff18a1d3cc711bf84b55ac06ae10d6b RMD160 (anope-2.0.7-source.tar.gz) = fdbc31d1bcd902eddc35efbae871af2b0dddc88b @@ -6,4 +6,4 @@ SHA512 (anope-2.0.7-source.tar.gz) = 22a9f3e0d9fe7f68304062829a19b693a3414f94c90 Size (anope-2.0.7-source.tar.gz) = 1817484 bytes SHA1 (patch-CMakeLists.txt) = 698034091457fb58de32a43fd701c7ce716f898e SHA1 (patch-data_CMakeLists.txt) = e0d762da4345ded9a080ea6cf216db510c4c1665 -SHA1 (patch-data_example.conf) = 5d239fdf2362561b860ffbd3b6dfe7a5dd177632 +SHA1 (patch-data_example.conf) = 6866b154f464ed6072b267f589ee67056bea73ac diff --git a/chat/anope/patches/patch-data_example.conf b/chat/anope/patches/patch-data_example.conf index c87020a2b6c..6da902a9c3d 100644 --- a/chat/anope/patches/patch-data_example.conf +++ b/chat/anope/patches/patch-data_example.conf @@ -1,4 +1,4 @@ -$NetBSD: patch-data_example.conf,v 1.2 2019/12/08 03:55:05 nia Exp $ +$NetBSD: patch-data_example.conf,v 1.3 2020/03/29 06:56:48 rillig Exp $ Fix config file filenames for pkgsrc's CONF_FILES system. @@ -9,14 +9,14 @@ Fix config file filenames for pkgsrc's CONF_FILES system. * services root directory. */ - pid = "data/services.pid" -+ pid = "/usr/pkg/anope/anope.pid" ++ pid = "@PREFIX@/anope/anope.pid" /* * The filename containing the Message of the Day. The path is relative to the * services root directory. */ - motd = "conf/services.motd" -+ motd = "/usr/pkg/etc/anope/services.motd" ++ motd = "@PKG_SYSCONFDIR@/anope/services.motd" } /* -- cgit v1.2.3