mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
12
sys-auth/AusweisApp2/files/1.20.0-CMakeLists.patch
Normal file
12
sys-auth/AusweisApp2/files/1.20.0-CMakeLists.patch
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user