pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/djbdns-run Keep it simple: set PKG_SYSCONFSUBDIR t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77ac88885f41
branches:  trunk
changeset: 335441:77ac88885f41
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jun 19 17:50:30 2019 +0000

description:
Keep it simple: set PKG_SYSCONFSUBDIR to match net/djbdns's. Bump version just in case.

diffstat:

 net/djbdns-run/Makefile |  19 ++-----------------
 1 files changed, 2 insertions(+), 17 deletions(-)

diffs (35 lines):

diff -r b040ad5b4135 -r 77ac88885f41 net/djbdns-run/Makefile
--- a/net/djbdns-run/Makefile   Wed Jun 19 17:49:18 2019 +0000
+++ b/net/djbdns-run/Makefile   Wed Jun 19 17:50:30 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.33 2019/01/08 18:19:27 schmonz Exp $
+# $NetBSD: Makefile,v 1.34 2019/06/19 17:50:30 schmonz Exp $
 #
 
-DISTNAME=              djbdns-run-20190108
+DISTNAME=              djbdns-run-20190619
 CATEGORIES=            net
 MASTER_SITES=          # empty
 DISTFILES=             # empty
@@ -48,21 +48,6 @@
 
 .include "options.mk"
 
-.include "../../mk/bsd.prefs.mk"
-
-# Detect the PKG_SYSCONFDIR of the installed djbdns, so we can create
-# config files there and refer to them from rc.d scripts.
-#
-.if !defined(PKG_SYSCONFDIR.djbdns-run)
-PKG_SYSCONFDIR.djbdns-run!=                                            \
-       ${PKG_INFO} -Q PKG_SYSCONFDIR                                   \
-               ${DEPENDS_DJBDNS:C/:.*$//:Q} 2>/dev/null ||             \
-       ${ECHO} "PKG_SYSCONFDIR.djbdns-run_not_set"
-.  if empty(PKG_SYSCONFDIR.djbdns-run:M*not_set)
-MAKEVARS+=     PKG_SYSCONFDIR.djbdns-run
-.  endif
-.endif
-
 do-install:
        ${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${PREFIX}/share/doc/djbdns-run
        ${INSTALL_DATA} ${FILESDIR}/axfrdns-tcp ${DESTDIR}${PREFIX}/share/examples/djbdns-run



Home | Main Index | Thread Index | Old Index