From 092b321f7a57f033689c9b396cb001aa38cc5f43 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 10 Oct 2023 09:13:57 +0200 Subject: dialog: fallback on bsddialog dialog(1) is being replaced by bsddialog(1) in base, prepare the the ports tree to deal with it. --- Mk/bsd.commands.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mk/bsd.commands.mk b/Mk/bsd.commands.mk index 27d9d3e2f47e..7addad889763 100644 --- a/Mk/bsd.commands.mk +++ b/Mk/bsd.commands.mk @@ -28,7 +28,11 @@ CP?= /bin/cp CPIO?= /usr/bin/cpio CUT?= /usr/bin/cut DC?= /usr/bin/dc +.if exists(/usr/bin/dialog) DIALOG?= /usr/bin/dialog +.else +DIALOG?= /usr/bin/bsddialog +.endif DIALOG4PORTS?= ${LOCALBASE}/bin/dialog4ports DIFF?= /usr/bin/diff DIRNAME?= /usr/bin/dirname -- cgit v1.2.3