Changeset View
Changeset View
Standalone View
Standalone View
dns/powerdns-recursor/Makefile
Show All 25 Lines | USES= autoreconf compiler:c++11-lib cpe gmake libtool \ | ||||
localbase:ldflags pkgconfig ssl tar:bzip2 | localbase:ldflags pkgconfig ssl tar:bzip2 | ||||
CPE_VENDOR= powerdns | CPE_VENDOR= powerdns | ||||
USE_RC_SUBR= pdns-recursor | USE_RC_SUBR= pdns-recursor | ||||
GNU_CONFIGURE= YES | GNU_CONFIGURE= YES | ||||
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ | CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ | ||||
--without-net-snmp \ | --without-net-snmp \ | ||||
--without-systemd | --without-systemd \ | ||||
--with-libsodium=no | |||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
USERS= pdns_recursor | USERS= pdns_recursor | ||||
GROUPS= pdns | GROUPS= pdns | ||||
OPTIONS_DEFINE= DNSTAP | OPTIONS_DEFINE= DNSTAP | ||||
OPTIONS_DEFAULT= LUA | OPTIONS_DEFAULT= LUA | ||||
Show All 11 Lines | |||||
LUAJITOR_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit-openresty | LUAJITOR_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit-openresty | ||||
LUAJITOR_CONFIGURE_ON= --with-lua=luajit | LUAJITOR_CONFIGURE_ON= --with-lua=luajit | ||||
LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit | LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit | ||||
LUAJIT_CONFIGURE_ON= --with-lua=luajit | LUAJIT_CONFIGURE_ON= --with-lua=luajit | ||||
LUA_USES= lua | LUA_USES= lua | ||||
.include <bsd.port.pre.mk> | |||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} != openssl | |||||
CONFIGURE_ARGS+= --with-libdecaf \ | |||||
--with-libsodium | |||||
LIB_DEPENDS+= libdecaf.so:security/libdecaf \ | |||||
libsodium.so:security/libsodium | |||||
.else | |||||
CONFIGURE_ARGS+= --with-libsodium=no | |||||
.endif | |||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}/var/run/pdns-recursor | @${MKDIR} ${STAGEDIR}/var/run/pdns-recursor | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |