summaryrefslogtreecommitdiff
path: root/Mk/bsd.commands.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2023-10-10 09:13:57 +0200
committerBaptiste Daroussin <bapt@FreeBSD.org>2023-10-10 09:13:57 +0200
commit092b321f7a57f033689c9b396cb001aa38cc5f43 (patch)
treeee18447c04ef14cfdfb17a694790e642b62b702c /Mk/bsd.commands.mk
parentmail/neomutt: update to 20231096 (diff)
dialog: fallback on bsddialog
dialog(1) is being replaced by bsddialog(1) in base, prepare the the ports tree to deal with it.
Diffstat (limited to 'Mk/bsd.commands.mk')
-rw-r--r--Mk/bsd.commands.mk4
1 files changed, 4 insertions, 0 deletions
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