Browse Source

pdns: Explicitly define lua implementation

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>
lilik-openwrt-22.03
James Taylor 5 years ago
parent
commit
001e30e387
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      net/pdns/Makefile

+ 2
- 1
net/pdns/Makefile View File

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


Loading…
Cancel
Save