1 |
commit: 73706ce8d2a35f25546d62b91915f7e003a906dc |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 11 06:52:40 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 11 06:52:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73706ce8 |
7 |
|
8 |
net-dns/bind-tools: fix compilation on Solaris |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
|
13 |
net-dns/bind-tools/bind-tools-9.14.4.ebuild | 3 +++ |
14 |
net-dns/bind-tools/bind-tools-9.15.2.ebuild | 3 +++ |
15 |
2 files changed, 6 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/bind-tools/bind-tools-9.14.4.ebuild b/net-dns/bind-tools/bind-tools-9.14.4.ebuild |
18 |
index b67d9a0e757..26747eac54d 100644 |
19 |
--- a/net-dns/bind-tools/bind-tools-9.14.4.ebuild |
20 |
+++ b/net-dns/bind-tools/bind-tools-9.14.4.ebuild |
21 |
@@ -81,6 +81,9 @@ src_configure() { |
22 |
# bug 344029 |
23 |
append-cflags "-DDIG_SIGCHASE" |
24 |
|
25 |
+ # to expose CMSG_* macros from sys/sockets.h |
26 |
+ [[ ${CHOST} == *-solaris* ]] && append-cflags "-D_XOPEN_SOURCE=600" |
27 |
+ |
28 |
# localstatedir for nsupdate -l, bug 395785 |
29 |
tc-export BUILD_CC |
30 |
econf "${myeconfargs[@]}" |
31 |
|
32 |
diff --git a/net-dns/bind-tools/bind-tools-9.15.2.ebuild b/net-dns/bind-tools/bind-tools-9.15.2.ebuild |
33 |
index 74ca294d0ec..6fb0611b898 100644 |
34 |
--- a/net-dns/bind-tools/bind-tools-9.15.2.ebuild |
35 |
+++ b/net-dns/bind-tools/bind-tools-9.15.2.ebuild |
36 |
@@ -81,6 +81,9 @@ src_configure() { |
37 |
# bug 344029 |
38 |
append-cflags "-DDIG_SIGCHASE" |
39 |
|
40 |
+ # to expose CMSG_* macros from sys/sockets.h |
41 |
+ [[ ${CHOST} == *-solaris* ]] && append-cflags "-D_XOPEN_SOURCE=600" |
42 |
+ |
43 |
# localstatedir for nsupdate -l, bug 395785 |
44 |
tc-export BUILD_CC |
45 |
econf "${myeconfargs[@]}" |