diff options
author | Doug Barton <dougb@FreeBSD.org> | 2009-06-01 21:58:59 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2009-06-01 21:58:59 +0000 |
commit | 536613bc357b2b597727f45e7e9d424b36110130 (patch) | |
tree | 72db1e0c01d84e250caffb50818290e40f7886f4 /usr.sbin/named | |
parent | 25dd52cdb10d223b9258836e23cc6ae4ea333b86 (diff) |
Add support for the build options that are currently in the port:
WITH_BIND_IDN
WITH_BIND_LARGE_FILE
WITH_BIND_SIGCHASE
WITH_BIND_XML
Notes
Notes:
svn path=/head/; revision=193280
Diffstat (limited to 'usr.sbin/named')
-rw-r--r-- | usr.sbin/named/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile index cb09169786cd..608866a4466e 100644 --- a/usr.sbin/named/Makefile +++ b/usr.sbin/named/Makefile @@ -9,7 +9,25 @@ SRCDIR= ${BIND_DIR}/bin/named PROG= named -CONFIGARGS='--prefix=/usr' '--without-libxml2' '--without-idn' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--disable-ipv6' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' +CONFIGARGS='--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--disable-ipv6' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' + +# Optional features +.if ${MK_BIND_LARGE_FILE} == "yes" +CONFIGARGS+='--enable-largefile' +.endif +.if ${MK_BIND_SIGCHASE} == "yes" +CONFIGARGS+='STD_CDEFINES=-DDIG_SIGCHASE=1' +.endif +.if ${MK_BIND_IDN} == "yes" +CONFIGARGS+='--with-idn=/usr/local' +.else +CONFIGARGS+='--without-idn' +.endif +.if ${MK_BIND_XML} == "yes" +CONFIGARGS+='--with-libxml2=/usr/local' +.else +CONFIGARGS+='--without-libxml2' +.endif .PATH: ${SRCDIR}/unix SRCS+= os.c |