summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/openmittsu/openmittsu-0.9.2_p75.ebuild16
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
+}