diff options
Diffstat (limited to 'net-misc/socat/socat-1.7.4.3.ebuild')
-rw-r--r-- | net-misc/socat/socat-1.7.4.3.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-misc/socat/socat-1.7.4.3.ebuild b/net-misc/socat/socat-1.7.4.3.ebuild index 17478f6a210d..79675ef1a190 100644 --- a/net-misc/socat/socat-1.7.4.3.ebuild +++ b/net-misc/socat/socat-1.7.4.3.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="bindist ipv6 readline ssl tcpd" DEPEND="ssl? ( dev-libs/openssl:0= ) @@ -43,6 +43,12 @@ src_configure() { tc-export AR + # getprotobynumber_r doesn't exist on musl, so avoid probing for it + # and possibly getting it wrong. TODO: fix configure? + # (Grabbed from Alpine Linux: https://git.alpinelinux.org/aports/commit/main/socat/APKBUILD?id=5edc9195355ced3db991c1a7cda5648d52019b11) + # bug #831016 + use elibc_musl && export sc_cv_getprotobynumber_r=2 + econf \ $(use_enable ssl openssl) \ $(use_enable readline) \ |