diff options
Diffstat (limited to 'net-misc/tinyssh/tinyssh-99999999.ebuild')
-rw-r--r-- | net-misc/tinyssh/tinyssh-99999999.ebuild | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/net-misc/tinyssh/tinyssh-99999999.ebuild b/net-misc/tinyssh/tinyssh-99999999.ebuild index e1c07e90c588..a4aed4b70c61 100644 --- a/net-misc/tinyssh/tinyssh-99999999.ebuild +++ b/net-misc/tinyssh/tinyssh-99999999.ebuild @@ -18,11 +18,6 @@ fi LICENSE="CC0-1.0" SLOT="0" -IUSE="+sodium" - -DEPEND=" - sodium? ( dev-libs/libsodium:= ) -" RDEPEND=" ${DEPEND} sys-apps/ucspi-tcp @@ -35,14 +30,7 @@ src_prepare() { } src_configure() { - tc-export PKG_CONFIG CC - - if use sodium - then - # -I${includedir}/sodium needed as tinyssh uses `#include <randombytes.h>` rather than `#include <sodium.h>` - export CFLAGS="${CFLAGS} $("${PKG_CONFIG}" --cflags libsodium) -I$("${PKG_CONFIG}" --variable=includedir libsodium)/sodium/" - export LDFLAGS="${LDFLAGS} $("${PKG_CONFIG}" --libs libsodium)" - fi + tc-export CC emake gentoo-autoheaders |