aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2020-04-03 17:04:36 +0200
committerVolkmar W. Pogatzki <gentoo@pogatzki.net>2020-04-03 17:04:36 +0200
commite0e7652141b12716016e421ff7ac2b9003dad4da (patch)
tree9e27290e4b5916653460234bc9fb7103245edde4 /sys-auth
parentsys-auth/AusweisApp2: get rid of QA Notice (diff)
downloadguru-e0e7652141b12716016e421ff7ac2b9003dad4da.tar.gz
guru-e0e7652141b12716016e421ff7ac2b9003dad4da.tar.bz2
guru-e0e7652141b12716016e421ff7ac2b9003dad4da.zip
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>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/AusweisApp2/AusweisApp2-1.20.0.ebuild6
-rw-r--r--sys-auth/AusweisApp2/AusweisApp2-9999.ebuild8
-rw-r--r--sys-auth/AusweisApp2/files/1.20.0-CMakeLists.patch12
3 files changed, 15 insertions, 11 deletions
diff --git a/sys-auth/AusweisApp2/AusweisApp2-1.20.0.ebuild b/sys-auth/AusweisApp2/AusweisApp2-1.20.0.ebuild
index a5b7e33c4..62654622f 100644
--- a/sys-auth/AusweisApp2/AusweisApp2-1.20.0.ebuild
+++ b/sys-auth/AusweisApp2/AusweisApp2-1.20.0.ebuild
@@ -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
diff --git a/sys-auth/AusweisApp2/AusweisApp2-9999.ebuild b/sys-auth/AusweisApp2/AusweisApp2-9999.ebuild
index ad3c6f997..ac1500b43 100644
--- a/sys-auth/AusweisApp2/AusweisApp2-9999.ebuild
+++ b/sys-auth/AusweisApp2/AusweisApp2-9999.ebuild
@@ -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
diff --git a/sys-auth/AusweisApp2/files/1.20.0-CMakeLists.patch b/sys-auth/AusweisApp2/files/1.20.0-CMakeLists.patch
new file mode 100644
index 000000000..2ba3dc842
--- /dev/null
+++ b/sys-auth/AusweisApp2/files/1.20.0-CMakeLists.patch
@@ -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)
+