config: switch from dialog4ports to portconfig

dialog4ports is using libdialog which is being decommissioned from
base replaced by bsddialog. We cannot switch to depending on
devel/cdialog because it build depends on too many things, on the other
hand the author of bsddialog made portconfig as a drop-in replacement
for dialog4ports, it only build depends on devel/bsddialog (we use
the version in port to be sure to have the right version on all
supported versions of the ports tree)

Reported by:	Herbert J. Skuhra" <herbert@gojira.at>
This commit is contained in:
Baptiste Daroussin 2023-10-10 13:53:44 +02:00
parent 7967851800
commit 0e73ed9372
2 changed files with 3 additions and 3 deletions

View file

@ -10,8 +10,8 @@ if [ -z "${DIALOG4PORTS}" -o -z "${PORTSDIR}" -o -z "${MAKE}" ]; then
exit 1
fi
: ${DIALOGPORT:=ports-mgmt/dialog4ports}
: ${DIALOGNAME:=dialog4ports}
: ${DIALOGPORT:=ports-mgmt/portconfig}
: ${DIALOGNAME:=portconfig}
OPTIONSFILE="$1"

View file

@ -33,7 +33,7 @@ DIALOG?= /usr/bin/dialog
.else
DIALOG?= /usr/bin/bsddialog
.endif
DIALOG4PORTS?= ${LOCALBASE}/bin/dialog4ports
DIALOG4PORTS?= ${LOCALBASE}/bin/portconfig
DIFF?= /usr/bin/diff
DIRNAME?= /usr/bin/dirname
EGREP?= /usr/bin/egrep