Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2018 15:59:51 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484700 - head/dns/dnsdist
Message-ID:  <201811111559.wABFxpgF057963@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Sun Nov 11 15:59:50 2018
New Revision: 484700
URL: https://svnweb.freebsd.org/changeset/ports/484700

Log:
  - Fix building against Lua(JIT). The configuration switch change since version 1.3.2.
    When building without poudriere, it would always pick LuaJIT over Lua if both are installed,
    basically ignoring the configuration knob.
  - Bump PORTREVISION
  
  PR:		233142 (based on)
  Submitted by:	Ralf van der Enden <tremere@cainites.net>
  MFH:		2018Q4

Modified:
  head/dns/dnsdist/Makefile

Modified: head/dns/dnsdist/Makefile
==============================================================================
--- head/dns/dnsdist/Makefile	Sun Nov 11 15:43:03 2018	(r484699)
+++ head/dns/dnsdist/Makefile	Sun Nov 11 15:59:50 2018	(r484700)
@@ -3,6 +3,7 @@
 
 PORTNAME=	dnsdist
 DISTVERSION=	1.3.3
+PORTREVISION=	1
 CATEGORIES=	dns net
 MASTER_SITES=	https://downloads.powerdns.com/releases/ \
 		LOCAL/cpm
@@ -51,9 +52,10 @@ FSTRM_CONFIGURE_ENABLE=	fstrm
 GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
 GNUTLS_CONFIGURE_ENABLE=gnutls
 
-LUAJIT_LIB_DEPENDS=	libluajit-5.1.so.2:lang/luajit
+LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
 LUAJIT_USES_OFF=	lua
-LUAJIT_CONFIGURE_WITH=	luajit
+LUAJIT_CONFIGURE_ON=	--with-lua=luajit
+LUAJIT_CONFIGURE_OFF=	--with-lua=lua-${LUA_VER}
 
 OPENSSL_USES=		ssl
 OPENSSL_CONFIGURE_ENABLE=libssl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811111559.wABFxpgF057963>