summaryrefslogtreecommitdiff
path: root/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild')
-rw-r--r--dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild b/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild
index 134002447d9a..ba054acdcfa0 100644
--- a/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild
+++ b/dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild
@@ -20,6 +20,10 @@ SLOT="0/1"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos"
IUSE="+gmp +libtommath tomsfastmath"
+# Enforce at least one math provider
+# bug #772935
+REQUIRED_USE="|| ( gmp libtommath tomsfastmath )"
+
BDEPEND="
sys-devel/libtool
virtual/pkgconfig
@@ -31,6 +35,10 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${P}-slibtool.patch
+)
+
mymake() {
# Standard boilerplate
# Upstream use homebrewed makefiles