diff --git a/srcpkgs/dnsmasq/template b/srcpkgs/dnsmasq/template index edbab729080..e21825843c0 100644 --- a/srcpkgs/dnsmasq/template +++ b/srcpkgs/dnsmasq/template @@ -1,9 +1,9 @@ # Template file for 'dnsmasq' pkgname=dnsmasq version=2.80 -revision=1 +revision=2 hostmakedepends="pkg-config" -makedepends="dbus-devel libcap-devel libidn-devel $(vopt_if dnssec nettle-devel)" +makedepends="dbus-devel libcap-devel libidn2-devel $(vopt_if dnssec nettle-devel)" conf_files="/etc/dnsmasq.conf" system_accounts="dnsmasq" dnsmasq_homedir="/var/chroot" @@ -19,6 +19,7 @@ desc_option_dnssec="Enable DNSSEC support via nettle" do_build() { echo '#define HAVE_DBUS' >> src/config.h + echo '#define HAVE_LIBIDN2' >> src/config.h if [ "$build_option_dnssec" ]; then echo '#define HAVE_DNSSEC' >> src/config.h fi