git: aecde6a0ef70 - main - dns/powerdns: Use USES=luajit (defaults to luajit-devel)

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 21:37:54 UTC
The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=aecde6a0ef70df8656669d417f981f580633cf57

commit aecde6a0ef70df8656669d417f981f580633cf57
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-15 21:37:50 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-15 21:37:50 +0000

    dns/powerdns: Use USES=luajit (defaults to luajit-devel)
---
 dns/powerdns/Makefile | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index be407ea85e7b..a78160a310d3 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	powerdns
 DISTVERSION=	4.6.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	dns
 MASTER_SITES=	https://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${DISTVERSION}
@@ -51,7 +51,7 @@ OPTIONS_DEFAULT=		LMDB LUA MYSQL PGSQL SQLITE3
 OPTIONS_GROUP=			GEOIPOPT REMOTEOPT
 OPTIONS_GROUP_REMOTEOPT=	ZEROMQ
 OPTIONS_SINGLE=			EXTLUA
-OPTIONS_SINGLE_EXTLUA=		LUA LUAJIT LUAJITOR
+OPTIONS_SINGLE_EXTLUA=		LUA LUAJIT
 
 OPTIONS_SUB=	yes
 
@@ -60,8 +60,7 @@ GEOIP_DESC=		GeoIP backend (GeoIP2 DB)
 IXFRDIST_DESC=		Build ixfrdist
 LMDB_DESC=		LMDB backend
 LUABACKEND_DESC=	Lua2 backend
-LUAJITOR_DESC=		Use lang/luajit-openresty
-LUAJIT_DESC=		Use lang/luajit
+LUAJIT_DESC=		Use luajit
 LUA_DESC=		Use lang/lua
 MYSQL_DESC=		MySQL backend
 OPENLDAP_DESC=		OpenLDAP backend
@@ -87,10 +86,7 @@ LMDB_VARS=		MODULES+=lmdb
 
 LUABACKEND_VARS=	MODULES+=lua2
 
-LUAJITOR_LIB_DEPENDS=	libluajit-5.1.so.2:lang/luajit-openresty
-LUAJITOR_CONFIGURE_ON=	--with-lua=luajit
-
-LUAJIT_LIB_DEPENDS=	libluajit-5.1.so.2:lang/luajit
+LUAJIT_USES=		luajit
 LUAJIT_CONFIGURE_ON=	--with-lua=luajit
 
 LUA_USES=	lua