sys-auth/AusweisApp2: fix build system

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
This commit is contained in:
Volkmar W. Pogatzki
2020-04-03 17:04:36 +02:00
parent f084bdf872
commit e0e7652141
3 changed files with 15 additions and 11 deletions

View File

@@ -32,11 +32,7 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
src_configure() {
# get rid of QA Notice: The following files contain insecure RUNPATHs
local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON )
cmake_src_configure
}
PATCHES=( "${FILESDIR}"/1.20.0-CMakeLists.patch )
src_install() {
cmake_src_install

View File

@@ -32,17 +32,13 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
PATCHES=( "${FILESDIR}"/1.20.0-CMakeLists.patch )
src_prepare() {
cmake_src_prepare
eautoreconf
}
src_configure() {
# get rid of QA Notice: The following files contain insecure RUNPATHs
local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON )
cmake_src_configure
}
src_install() {
cmake_src_install
dolib.so "${BUILD_DIR}"/src/activation/base/libAusweisAppActivation.so

View File

@@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e958954..ae85daa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,6 +57,7 @@ IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND (IOS OR ANDROID))
ENDIF()
SET(CMAKE_DIR "${PROJECT_SOURCE_DIR}/cmake")
SET(CMAKE_MODULE_PATH "${CMAKE_DIR}")
+SET(CMAKE_SKIP_RPATH YES CACHE BOOL "Remove RUNPATH from ELF dynamic sections" FORCE)
OPTION(BUILD_SHARED_LIBS "Enable build of shared libraries")
OPTION(INTEGRATED_SDK "Build platform specific SDK" OFF)