aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bootparamd
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 20:47:24 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 20:47:24 +0000
commitc99b67a7947ea215f9c1d44ec022680e98920cd1 (patch)
treeb651dbc9948db013cc06944c3c063e0d1309dc05 /usr.sbin/bootparamd
parent212e02c8360c9ec101759e2dead7dbc99cfddf67 (diff)
downloadsrc-c99b67a7947ea215f9c1d44ec022680e98920cd1.tar.gz
src-c99b67a7947ea215f9c1d44ec022680e98920cd1.zip
Notes
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r--usr.sbin/bootparamd/bootparamd/Makefile2
-rw-r--r--usr.sbin/bootparamd/callbootd/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/Makefile b/usr.sbin/bootparamd/bootparamd/Makefile
index 0596993ec67c..9bdb70fb1cce 100644
--- a/usr.sbin/bootparamd/bootparamd/Makefile
+++ b/usr.sbin/bootparamd/bootparamd/Makefile
@@ -15,7 +15,7 @@ CFLAGS+= -DYP
CLEANFILES= ${GENSRCS}
-RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
+RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
bootparam_prot_svc.c: ${RPCSRC}
RPCGEN_CPP=${CPP:Q} rpcgen -C -m -o ${.TARGET} ${RPCSRC}
diff --git a/usr.sbin/bootparamd/callbootd/Makefile b/usr.sbin/bootparamd/callbootd/Makefile
index 28b1e263f4df..b9c984ffd538 100644
--- a/usr.sbin/bootparamd/callbootd/Makefile
+++ b/usr.sbin/bootparamd/callbootd/Makefile
@@ -10,7 +10,7 @@ CFLAGS+= -I.
CLEANFILES= ${GENSRCS}
-RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
+RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
bootparam_prot_clnt.c: ${RPCSRC}
RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}