diff --git a/lfs/dnsdist b/lfs/dnsdist
index 5832cd6b3..ac4075afc 100644
--- a/lfs/dnsdist
+++ b/lfs/dnsdist
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = dnsdist
-PAK_VER    = 33
+PAK_VER    = 34
 
 DEPS       =
 
@@ -86,8 +86,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	cd $(DIR_APP) && ./configure \
 		--prefix=/usr \
 		--sysconfdir=/etc \
-		--enable-openssl \
-		--disable-gnutls \
+		--with-libssl \
+		--without-gnutls \
 		--enable-dns-over-tls \
 		--with-lua \
 		--without-net-snmp \
