diff options
author | dougb <dougb@FreeBSD.org> | 2009-06-01 21:58:59 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2009-06-01 21:58:59 +0000 |
commit | ec14ac76ed8467044f813ea36d7231146abe424a (patch) | |
tree | 72db1e0c01d84e250caffb50818290e40f7886f4 /usr.sbin | |
parent | 4222ea65c24563b74d0877038cd3d19da5666f1d (diff) | |
download | FreeBSD-src-ec14ac76ed8467044f813ea36d7231146abe424a.zip FreeBSD-src-ec14ac76ed8467044f813ea36d7231146abe424a.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-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 cb09169..608866a 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 |