[Midnightbsd-cvs] src [11093] trunk/sbin/resolvconf/Makefile: fixup

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Jun 19 14:07:17 EDT 2018


Revision: 11093
          http://svnweb.midnightbsd.org/src/?rev=11093
Author:   laffer1
Date:     2018-06-19 14:07:16 -0400 (Tue, 19 Jun 2018)
Log Message:
-----------
fixup

Modified Paths:
--------------
    trunk/sbin/resolvconf/Makefile

Modified: trunk/sbin/resolvconf/Makefile
===================================================================
--- trunk/sbin/resolvconf/Makefile	2018-06-19 18:06:49 UTC (rev 11092)
+++ trunk/sbin/resolvconf/Makefile	2018-06-19 18:07:16 UTC (rev 11093)
@@ -1,4 +1,5 @@
 # $MidnightBSD$
+# $FreeBSD: stable/10/sbin/resolvconf/Makefile 305165 2016-08-31 22:18:50Z badger $
 
 DIST=		${.CURDIR}/../../contrib/openresolv
 .PATH:		${DIST}
@@ -5,7 +6,7 @@
 
 SCRIPTS=	resolvconf
 
-FILES=		libc dnsmasq named pdnsd unbound
+FILES=		libc dnsmasq named pdnsd pdns_recursor unbound
 FILESDIR=	/libexec/resolvconf
 
 MAN=		resolvconf.conf.5 resolvconf.8
@@ -15,6 +16,7 @@
 SYSCONFDIR=	/etc
 RCDIR=		${SYSCONFDIR}/rc.d
 VARDIR=		/var/run/resolvconf
+SBINDIR=	/sbin
 
 # We don't assume to restart the services in /sbin.  So, though
 # our service(8) is in /usr/sbin, we can use it, here.
@@ -24,12 +26,12 @@
 
 .for f in ${SCRIPTS} ${FILES} ${MAN}
 ${f}:	${f}.in
-	sed -e 's:@PREFIX@::g' \
-		-e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \
+	sed	-e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' \
 		-e 's:@LIBEXECDIR@:${FILESDIR}:g' \
 		-e 's:@VARDIR@:${VARDIR}:g' \
 		-e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \
 		-e 's:@RCDIR@:${RCDIR}:g' \
+		-e 's:@SBINDIR@:${SBINDIR}:g' \
 		-e 's: vpn : ng[0-9]*&:g' \
 		${DIST}/$@.in > $@
 .endfor



More information about the Midnightbsd-cvs mailing list