summaryrefslogtreecommitdiff
path: root/rescue
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2013-03-24 11:07:07 +0000
committermartin <martin@NetBSD.org>2013-03-24 11:07:07 +0000
commit910072688b7061dfee68bdd3245fbf12d85aedb1 (patch)
treeb9c9f5c0d467614c093425ac7b8fe7905e08256e /rescue
parent7c2ed8dacf0762f6e5cb510f75430ed66caa1b1c (diff)
pdisk has moved to external/bsd - try to deal.
Diffstat (limited to 'rescue')
-rw-r--r--rescue/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/rescue/Makefile b/rescue/Makefile
index c857ee5cb42..af8bf0ab936 100644
--- a/rescue/Makefile
+++ b/rescue/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2010/03/10 23:13:10 abs Exp $
+# $NetBSD: Makefile,v 1.28 2013/03/24 11:07:07 martin Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -19,13 +19,20 @@ LISTS= ${.CURDIR}/list
TARGETDIR= ${DESTDIR}/rescue
PARSELISTENV+= TARGETDIR=${TARGETDIR:Q}
-.for f in ldconfig pdisk
+.for f in ldconfig
PROG_${f}!= cd ${NETBSDSRCDIR}/sbin/${f} && ${MAKE} -V PROG
.if (${PROG_${f}} != "")
LISTS+= ${.CURDIR}/list.${f}
.endif
.endfor
+.for f in pdisk
+PROG_${f}!= cd ${NETBSDSRCDIR}/external/bsd/${f} && ${MAKE} -V PROG
+.if (${PROG_${f}} != "")
+LISTS+= ${.CURDIR}/list.${f}
+.endif
+.endfor
+
.if ${USE_INET6} != "no"
LISTS+= ${.CURDIR}/list.inet6
.endif