From 9abefb76a2f500e497be5e0e6f311645d69e2a5c Mon Sep 17 00:00:00 2001 From: bert hubert Date: Sat, 16 Jan 2016 13:26:33 +0100 Subject: [PATCH] quick fix for compiling on FreeBSD 10.2 which appears to be what people use/need to compile powerdns 4. --- pdns/sysdeps-recursor/FreeBSD.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pdns/sysdeps-recursor/FreeBSD.inc b/pdns/sysdeps-recursor/FreeBSD.inc index 12cb6f912..1397667e5 100644 --- a/pdns/sysdeps-recursor/FreeBSD.inc +++ b/pdns/sysdeps-recursor/FreeBSD.inc @@ -4,9 +4,6 @@ OPTIONALS:=optional/kqueuemplexer.o optional/kqueuemplexer.o: kqueuemplexer.cc $(CXX) $(CXXFLAGS) -c $< -o $@ -LUA_CPPFLAGS_CONFIG ?= -I/usr/include/lua5.1 -LUA_LIBS_CONFIG ?= -llua5.1 -rdynamic +LUA_CPPFLAGS_CONFIG ?= -I/usr/local/include/lua51 +LUA_LIBS_CONFIG ?= -L/usr/local/lib/ -llua-5.1 -rdynamic -# Lua 5.0 settings -#LUA_CPPFLAGS_CONFIG=-I/usr/include/lua50 -#LUA_LIBS_CONFIG=-llua50 -llualib50 -- 2.40.0