summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index e415407f..88eb8a7 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -20,10 +20,9 @@ LDADD= -lutil -lcrypt
DPADD+= ${LIBOPIE} ${LIBMD}
LDADD+= -lopie -lmd
-LSDIR= ../../bin/ls
-.PATH: ${.CURDIR}/${LSDIR}
+.PATH: ${SRCTOP}/bin/ls
SRCS+= ls.c cmp.c print.c util.c
-CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
+CFLAGS+=-Dmain=ls_main -I${SRCTOP}/bin/ls
DPADD+= ${LIBM}
LDADD+= -lm
OpenPOWER on IntegriCloud