ftpd(8): Use libutil's pidfile(3) implementation.
authorSascha Wildner <saw@online.de>
Thu, 11 Apr 2019 10:09:43 +0000 (12:09 +0200)
committerSascha Wildner <saw@online.de>
Thu, 11 Apr 2019 10:09:43 +0000 (12:09 +0200)
This unbreaks buildworld.

Reported-by: zrj
libexec/ftpd/Makefile
libexec/ftpd/ftpd.c

index ac1cde1..2b1fb80 100644 (file)
@@ -27,10 +27,6 @@ LDADD+=      -lm
 # XXX sys/md5.h shim errata for bootstrap REMOVE_OPENSSL_FILES
 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv
 
 # XXX sys/md5.h shim errata for bootstrap REMOVE_OPENSSL_FILES
 CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv
 
-.PATH: ${.CURDIR}/../../usr.sbin/nscd
-SRCS+= pidfile.c
-CFLAGS+=-I${.CURDIR}/../../usr.sbin/nscd
-
 .if !defined(NO_INET6)
 CFLAGS+=-DINET6
 .endif
 .if !defined(NO_INET6)
 CFLAGS+=-DINET6
 .endif
index ed979d5..19b6948 100644 (file)
@@ -81,7 +81,6 @@
 
 #include "pathnames.h"
 #include "extern.h"
 
 #include "pathnames.h"
 #include "extern.h"
-#include "pidfile.h"
 
 #include <stdarg.h>
 
 
 #include <stdarg.h>