summaryrefslogtreecommitdiff
path: root/usr.sbin/rpc.statd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpc.statd/Makefile')
-rw-r--r--usr.sbin/rpc.statd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/Makefile b/usr.sbin/rpc.statd/Makefile
index a5411e8f741e..5b0beb334785 100644
--- a/usr.sbin/rpc.statd/Makefile
+++ b/usr.sbin/rpc.statd/Makefile
@@ -11,7 +11,7 @@ LIBADD= rpcsvc
CLEANFILES= sm_inter_svc.c sm_inter.h
-RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
+RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/sm_inter.x
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
sm_inter_svc.c: ${RPCSRC}