FreeBSD Bugzilla – Attachment 164444 Details for
Bug 205478
dns/powerdns: Eliminate Lua dependency if Lua bindings aren't being built
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Simple patch to eliminate Lua dependency if Lua is deselected
file_205478.txt (text/plain), 1.10 KB, created by
jim
on 2015-12-21 05:56:49 UTC
(
hide
)
Description:
Simple patch to eliminate Lua dependency if Lua is deselected
Filename:
MIME Type:
Creator:
jim
Created:
2015-12-21 05:56:49 UTC
Size:
1.10 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 404084) >+++ Makefile (working copy) >@@ -2,6 +2,7 @@ > > PORTNAME= powerdns > PORTVERSION= 3.4.7 >+PORTREVISION= 1 > CATEGORIES= dns ipv6 > MASTER_SITES= http://downloads.powerdns.com/releases/ > DISTNAME= pdns-${PORTVERSION} >@@ -13,7 +14,7 @@ > > LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs > >-USES= cpe gmake libtool lua pkgconfig tar:bzip2 >+USES= cpe gmake libtool pkgconfig tar:bzip2 > USE_LDCONFIG= YES > USE_SUBMAKE= YES > GNU_CONFIGURE= YES >@@ -20,8 +21,6 @@ > INSTALL_TARGET= install-strip > CXXFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib >-CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" \ >- LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" > CONFIGURE_ARGS= --disable-static \ > --with-modules="" \ > --with-dynmodules="pipe bind ${MODULES}" \ >@@ -133,6 +132,9 @@ > > .if ${PORT_OPTIONS:MLUA} > MODULES+= lua >+USES+= lua >+CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" \ >+ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" > .endif > > .if ${PORT_OPTIONS:MMYDNS}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
koobs
:
maintainer-approval-
Actions:
View
Attachments on
bug 205478
: 164444