From b4565a1eb279f05cbea2aa4f761f69401618529b Mon Sep 17 00:00:00 2001 From: "S. Gilles" Date: Mon, 24 Sep 2018 20:21:55 -0400 Subject: [PATCH] sci-mathematics/clav: include static-libs flag --- sci-mathematics/clav/Manifest | 2 +- sci-mathematics/clav/clav-9999.ebuild | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sci-mathematics/clav/Manifest b/sci-mathematics/clav/Manifest index 6565e8f..ce1cfab 100644 --- a/sci-mathematics/clav/Manifest +++ b/sci-mathematics/clav/Manifest @@ -1,2 +1,2 @@ EBUILD clav-1.1.ebuild 426 BLAKE2B 9e00934f58bd1e7962c8540f0c61f5b5d12a4f67ac23c564844e601ecbaac3ac80317055ab6c3cefdaf0a75019d9096818d63a32c3ff90c5f8e70232127c1443 SHA512 53ef40d53a370225d2a69dc13c5716196dc037d85714736b095bfd9ca3fe391e75dd12d9c7a7c95339aaa25549fafcfc388c1bd9ff3b31b970513e30d325a870 -EBUILD clav-9999.ebuild 426 BLAKE2B 9e00934f58bd1e7962c8540f0c61f5b5d12a4f67ac23c564844e601ecbaac3ac80317055ab6c3cefdaf0a75019d9096818d63a32c3ff90c5f8e70232127c1443 SHA512 53ef40d53a370225d2a69dc13c5716196dc037d85714736b095bfd9ca3fe391e75dd12d9c7a7c95339aaa25549fafcfc388c1bd9ff3b31b970513e30d325a870 +EBUILD clav-9999.ebuild 557 BLAKE2B d06e153eacf25ff0e5a97a300e7818554c6da935b73c27e816260b782d33c66874d33be92f0cb7e3c658d0d906bb86c083874f3a3b5ba502945666e7d8626c96 SHA512 678ac1313bec40060afbcb154204657332f65b00dc2645aa59cc4ad5ea4238762ad53e1ac18bcab30560965da72118e8b4b95d782024f4b4c4c9710e4459f35e diff --git a/sci-mathematics/clav/clav-9999.ebuild b/sci-mathematics/clav/clav-9999.ebuild index 8a6e3dd..aa62c94 100644 --- a/sci-mathematics/clav/clav-9999.ebuild +++ b/sci-mathematics/clav/clav-9999.ebuild @@ -1,6 +1,6 @@ EAPI=6 -inherit eutils git-r3 +inherit eutils flag-o-matic git-r3 DESCRIPTION="Clav is a program to visualize cluster algebras as quivers" HOMEPAGE="http://www.math.umd.edu/~sgilles" @@ -15,4 +15,13 @@ fi LICENSE="ISC" SLOT="0" -RDEPEND=">=media-libs/sdl2-ttf-2.0.0 media-libs/libsdl2 media-fonts/dejavu" +IUSE="static" +RDEPEND=" + >=media-libs/sdl2-ttf-2.0.0[static-libs(+)] + media-libs/libsdl2[static-libs(+)] + media-fonts/dejavu" + +src_configure() { + use static && append-ldflags -static + default +} -- 2.11.4.GIT