For FreeBSD, the status argument needs to be onestatus.
[openresolv] / Makefile
index e23d5b7084211d7e233b5296e6bd528489591d0d..dbc0673fd2527e93f12fd6fb6b25ef49e4542c78 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ SED_VARDIR=           -e 's:@VARDIR@:${VARDIR}:g'
 SED_RCDIR=             -e 's:@RCDIR@:${RCDIR}:g'
 SED_RESTARTCMD=                -e 's:@RESTARTCMD@:${RESTARTCMD}:g'
 SED_RCDIR=             -e 's:@RCDIR@:${RCDIR}:g'
+SED_STATUSARG=         -e 's:@STATUSARG@:${STATUSARG}:g'
 
 DISTPREFIX?=   ${PKG}-${VERSION}
 DISTFILEGZ?=   ${DISTPREFIX}.tar.gz
@@ -42,9 +43,10 @@ FOSSILID?=   current
 
 all: ${TARGET}
 
-.in:
+.in: Makefile ${CONFIG_MK}
        ${SED}  ${SED_SBINDIR} ${SED_SYSCONFDIR} ${SED_LIBEXECDIR} \
-               ${SED_VARDIR} ${SED_RCDIR} ${SED_RESTARTCMD} ${SED_RCDIR} \
+               ${SED_VARDIR} \
+               ${SED_RCDIR} ${SED_RESTARTCMD} ${SED_RCDIR} ${SED_STATUSARG} \
                $< > $@
 
 clean: