diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-08-11 08:52:40 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-08-11 08:52:54 +0200 |
commit | 73706ce8d2a35f25546d62b91915f7e003a906dc (patch) | |
tree | ce9a94b169bd29215fa135ab2b29c9e992d9fc95 /net-dns | |
parent | dev-lang/python-exec: Fix missing slashes (diff) | |
download | gentoo-73706ce8d2a35f25546d62b91915f7e003a906dc.tar.gz gentoo-73706ce8d2a35f25546d62b91915f7e003a906dc.tar.bz2 gentoo-73706ce8d2a35f25546d62b91915f7e003a906dc.zip |
net-dns/bind-tools: fix compilation on Solaris
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/bind-tools/bind-tools-9.14.4.ebuild | 3 | ||||
-rw-r--r-- | net-dns/bind-tools/bind-tools-9.15.2.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/net-dns/bind-tools/bind-tools-9.14.4.ebuild b/net-dns/bind-tools/bind-tools-9.14.4.ebuild index b67d9a0e757e..26747eac54db 100644 --- a/net-dns/bind-tools/bind-tools-9.14.4.ebuild +++ b/net-dns/bind-tools/bind-tools-9.14.4.ebuild @@ -81,6 +81,9 @@ src_configure() { # bug 344029 append-cflags "-DDIG_SIGCHASE" + # to expose CMSG_* macros from sys/sockets.h + [[ ${CHOST} == *-solaris* ]] && append-cflags "-D_XOPEN_SOURCE=600" + # localstatedir for nsupdate -l, bug 395785 tc-export BUILD_CC econf "${myeconfargs[@]}" diff --git a/net-dns/bind-tools/bind-tools-9.15.2.ebuild b/net-dns/bind-tools/bind-tools-9.15.2.ebuild index 74ca294d0ecf..6fb0611b8981 100644 --- a/net-dns/bind-tools/bind-tools-9.15.2.ebuild +++ b/net-dns/bind-tools/bind-tools-9.15.2.ebuild @@ -81,6 +81,9 @@ src_configure() { # bug 344029 append-cflags "-DDIG_SIGCHASE" + # to expose CMSG_* macros from sys/sockets.h + [[ ${CHOST} == *-solaris* ]] && append-cflags "-D_XOPEN_SOURCE=600" + # localstatedir for nsupdate -l, bug 395785 tc-export BUILD_CC econf "${myeconfargs[@]}" |