From 77fd1ac26a015fc7125ce20f785a1e4a4bb1f731 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 20 Mar 2017 20:22:23 +0100 Subject: [PATCH] net-im/lurch: fix scm build --- packages/net-im/lurch/lurch-scm.exheres-0 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/net-im/lurch/lurch-scm.exheres-0 b/packages/net-im/lurch/lurch-scm.exheres-0 index 9155a83..cf41b93 100644 --- a/packages/net-im/lurch/lurch-scm.exheres-0 +++ b/packages/net-im/lurch/lurch-scm.exheres-0 @@ -3,17 +3,22 @@ SCM_REPOSITORY="https://github.com/gkdr/${PN}.git" SCM_axc_REPOSITORY="https://github.com/gkdr/axc.git" +SCM_signal_REPOSITORY="https://github.com/WhisperSystems/libsignal-protocol-c.git" SCM_omemo_REPOSITORY="https://github.com/gkdr/libomemo.git" SCM_SECONDARY_REPOSITORIES=" axc + signal omemo " SCM_EXTERNAL_REFS=" lib/axc:axc lib/libomemo:omemo " +SCM_axc_EXTERNAL_REFS=" + lib/libsignal-protocol-c:signal +" -CMAKE_SOURCE=${WORK}/lib/axc/lib/libaxolotl-c +CMAKE_SOURCE=${WORK}/lib/axc/lib/libsignal-protocol-c require cmake [ api=2 out_of_source=false ] # don't let cmake mess with $WORK require scm-git @@ -42,6 +47,10 @@ DEPENDENCIES=" BUGS_TO="hasufell@posteo.de" REMOTE_IDS="github:gkdr/${PN}" +CMAKE_SRC_CONFIGURE_PARAMS=( + -DCMAKE_C_FLAGS="${CFLAGS} -fPIC" +) + src_prepare() { # cmake part of libaxolotl-c edo mkdir "${CMAKE_SOURCE}"/build