pdns: Explicitly define lua implementation 10027/head
authorJames Taylor <james@jtaylor.id.au>
Wed, 18 Sep 2019 14:11:04 +0000 (00:11 +1000)
committerJames Taylor <james@jtaylor.id.au>
Wed, 18 Sep 2019 14:11:04 +0000 (00:11 +1000)
Compile Tested: yes, selects lua as implementation and doesn't pick up luajit
Run Tested: no, minor change

Maintainer: me

Description:
On some architectures PowerDNS was preferring Luajit over Lua, which wasn't added
as a dependency. On previous versions this was controlled by passing `--with-lua`
and `--without-luajit` however this isn't functional anymore.

On the 4.2 series, it is instead possible to define the lua implementation to be
used by passing `--with-lua=[implementation]` ie `--with-lua=lua`

Signed-off-by: James Taylor <james@jtaylor.id.au>
net/pdns/Makefile

index 7b8075a7abd8c95ef110a40b30a35899abef1f07..41c4e42f0b58b0d74029fb9be2ba8526175a9b70 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pdns
 PKG_VERSION:=4.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
@@ -175,6 +175,7 @@ CONFIGURE_ARGS+= \
        --sysconfdir=/etc/powerdns \
        --libdir=/usr/lib/powerdns  \
        --with-dynmodules="$(foreach backend,$(PDNS_BACKENDS),$(if $(CONFIG_PACKAGE_pdns-backend-$(backend)),$(PDNS_BACKEND_$(backend)_LIB),))" \
+       --with-lua="lua" \
        --with-modules="bind random" \
        --with-mysql-lib=$(STAGING_DIR)/usr \
        --with-mysql-includes=$(STAGING_DIR)/usr \