svn commit: r496252 - in head/dns: bind9-devel bind911 bind912 bind913 bind914
Mathieu Arnold
mat at FreeBSD.org
Tue Mar 19 08:38:45 UTC 2019
Author: mat
Date: Tue Mar 19 08:38:43 2019
New Revision: 496252
URL: https://svnweb.freebsd.org/changeset/ports/496252
Log:
Make WITH_DEBUG actually build and be as helpful as possible.
Modified:
head/dns/bind9-devel/Makefile (contents, props changed)
head/dns/bind911/Makefile (contents, props changed)
head/dns/bind912/Makefile (contents, props changed)
head/dns/bind913/Makefile (contents, props changed)
head/dns/bind914/Makefile (contents, props changed)
Modified: head/dns/bind9-devel/Makefile
==============================================================================
--- head/dns/bind9-devel/Makefile Tue Mar 19 07:54:41 2019 (r496251)
+++ head/dns/bind9-devel/Makefile Tue Mar 19 08:38:43 2019 (r496252)
@@ -197,13 +197,19 @@ TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen
TUNING_LARGE_CONFIGURE_ON= --with-tuning=large
TUNING_LARGE_CONFIGURE_OFF= --with-tuning=default
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-symtable
+CONFIGURE_ARGS+= --enable-symtable \
+ --enable-developer
+USES+= perl5 pkgconfig
+USE_PERL5= build
+BUILD_DEPENDS+= cmocka>0:sysutils/cmocka
.else
CONFIGURE_ARGS+= --disable-symtable
.endif
+
+.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
SUB_LIST+= ENGINES=/usr/lib/engines
Modified: head/dns/bind911/Makefile
==============================================================================
--- head/dns/bind911/Makefile Tue Mar 19 07:54:41 2019 (r496251)
+++ head/dns/bind911/Makefile Tue Mar 19 08:38:43 2019 (r496252)
@@ -185,13 +185,24 @@ TUNING_LARGE_IMPLIES= THREADS
TUNING_LARGE_CONFIGURE_ON= --with-tuning=large
TUNING_LARGE_CONFIGURE_OFF= --with-tuning=default
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-symtable
+CONFIGURE_ARGS+= --enable-symtable \
+ --enable-developer
+USES+= perl5 pkgconfig
+USE_PERL5= build
+BUILD_DEPENDS+= cmocka>0:sysutils/cmocka
+# Developer mode needs ssl, always
+.if !${PORT_OPTIONS:MSSL}
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+USES+= ssl
+.endif
.else
CONFIGURE_ARGS+= --disable-symtable
.endif
+
+.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
SUB_LIST+= ENGINES=/usr/lib/engines
Modified: head/dns/bind912/Makefile
==============================================================================
--- head/dns/bind912/Makefile Tue Mar 19 07:54:41 2019 (r496251)
+++ head/dns/bind912/Makefile Tue Mar 19 08:38:43 2019 (r496252)
@@ -203,13 +203,24 @@ TUNING_LARGE_IMPLIES= THREADS
TUNING_LARGE_CONFIGURE_ON= --with-tuning=large
TUNING_LARGE_CONFIGURE_OFF= --with-tuning=default
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-symtable
+CONFIGURE_ARGS+= --enable-symtable \
+ --enable-developer
+USES+= perl5 pkgconfig
+USE_PERL5= build
+BUILD_DEPENDS+= cmocka>0:sysutils/cmocka
+# Developer mode needs ssl, always
+.if !${PORT_OPTIONS:MSSL}
+CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
+USES+= ssl
+.endif
.else
CONFIGURE_ARGS+= --disable-symtable
.endif
+
+.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
SUB_LIST+= ENGINES=/usr/lib/engines
Modified: head/dns/bind913/Makefile
==============================================================================
--- head/dns/bind913/Makefile Tue Mar 19 07:54:41 2019 (r496251)
+++ head/dns/bind913/Makefile Tue Mar 19 08:38:43 2019 (r496252)
@@ -184,13 +184,19 @@ TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen
TUNING_LARGE_CONFIGURE_ON= --with-tuning=large
TUNING_LARGE_CONFIGURE_OFF= --with-tuning=default
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-symtable
+CONFIGURE_ARGS+= --enable-symtable \
+ --enable-developer
+USES+= perl5 pkgconfig
+USE_PERL5= build
+BUILD_DEPENDS+= cmocka>0:sysutils/cmocka
.else
CONFIGURE_ARGS+= --disable-symtable
.endif
+
+.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
SUB_LIST+= ENGINES=/usr/lib/engines
Modified: head/dns/bind914/Makefile
==============================================================================
--- head/dns/bind914/Makefile Tue Mar 19 07:54:41 2019 (r496251)
+++ head/dns/bind914/Makefile Tue Mar 19 08:38:43 2019 (r496252)
@@ -184,13 +184,19 @@ TCP_FASTOPEN_CONFIGURE_ENABLE= tcp-fastopen
TUNING_LARGE_CONFIGURE_ON= --with-tuning=large
TUNING_LARGE_CONFIGURE_OFF= --with-tuning=default
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-symtable
+CONFIGURE_ARGS+= --enable-symtable \
+ --enable-developer
+USES+= perl5 pkgconfig
+USE_PERL5= build
+BUILD_DEPENDS+= cmocka>0:sysutils/cmocka
.else
CONFIGURE_ARGS+= --disable-symtable
.endif
+
+.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} == base
SUB_LIST+= ENGINES=/usr/lib/engines
More information about the svn-ports-all
mailing list