app-crypt/rhash: Apply -lintl fix to BSD libcs (bug #629060)
authorJames Le Cuirot <chewi@gentoo.org>
Sat, 2 Sep 2017 12:37:41 +0000 (13:37 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sat, 2 Sep 2017 12:38:41 +0000 (13:38 +0100)
Package-Manager: Portage-2.3.8, Repoman-2.3.2

app-crypt/rhash/rhash-1.3.5.ebuild

index 77b468a64c52236d8dd49b219514790dc59d3b10..5d6b901c8e6713faa15291226718182160873f94 100644 (file)
@@ -57,7 +57,8 @@ multilib_src_compile() {
                $(use openssl && echo -ldl)
        )
 
-       use elibc_Darwin || use elibc_SunOS &&
+       use elibc_Darwin || use elibc_DragonFly || use elibc_FreeBSD ||
+               use elibc_NetBSD || use elibc_OpenBSD || use elibc_SunOS &&
                        ADDLDFLAGS+=( $(use nls && echo -lintl) )
 
        emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \