diff options
author | 2017-01-29 20:12:44 +0100 | |
---|---|---|
committer | 2017-01-29 20:16:02 +0100 | |
commit | 94f05014955f601db439ade99ae3b2d4fa603157 (patch) | |
tree | c0b157a053741eb44b6caffa86b3851a159db5f0 /net-im/openmittsu | |
parent | media-libs/raptor: dropped ~x64-freebsd (diff) | |
download | gentoo-94f05014955f601db439ade99ae3b2d4fa603157.tar.gz gentoo-94f05014955f601db439ade99ae3b2d4fa603157.tar.bz2 gentoo-94f05014955f601db439ade99ae3b2d4fa603157.zip |
net-im/openmittsu: Add explicit src_configure too.
Folks in #-qa seem to prefer imperative to declarative style. :)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-im/openmittsu')
-rw-r--r-- | net-im/openmittsu/openmittsu-0.9.2_p75.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild b/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild index 7b6b65da447e..f7ee98dd1625 100644 --- a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild +++ b/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild @@ -26,12 +26,12 @@ DEPEND=">=dev-libs/libsodium-1.0.11:= RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" -PATCHES=("${FILESDIR}/${P}-libsodium-so.patch") -MYCMAKEARGS="-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON" -DOCS="README.md - Example-client-configuration-file.ini - Example-contacts-file.txt" +DOCS=( + "README.md" + "Example-client-configuration-file.ini" + "Example-contacts-file.txt" +) src_prepare() { # set version manually, since autodetection works only with git @@ -39,5 +39,11 @@ src_prepare() { s/.*/set(OPENMITTSU_GIT_VERSION_STRING \"${PV/_p/-}-00000000\")/" \ CMakeLists.txt || die + eapply "${FILESDIR}"/${P}-libsodium-so.patch cmake-utils_src_prepare } + +src_configure() { + local mycmakeargs=("-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON") + cmake-utils_src_configure +} |