summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 20:25:45 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 20:25:45 -0700
commitbbca9cf1203daa34e0814c8299d51a84fa70ba54 (patch)
treec75be333c509342c75b89b05e2c396906c629839 /sys-fs/dislocker
parentsys-devel/llvm: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-bbca9cf1203daa34e0814c8299d51a84fa70ba54.tar.gz
gentoo-bbca9cf1203daa34e0814c8299d51a84fa70ba54.tar.bz2
gentoo-bbca9cf1203daa34e0814c8299d51a84fa70ba54.zip
sys-fs/dislocker: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-fs/dislocker')
-rw-r--r--sys-fs/dislocker/dislocker-0.7.1-r1.ebuild2
-rw-r--r--sys-fs/dislocker/dislocker-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys-fs/dislocker/dislocker-0.7.1-r1.ebuild b/sys-fs/dislocker/dislocker-0.7.1-r1.ebuild
index f0bc602be4d9..7c81c7f8a1ce 100644
--- a/sys-fs/dislocker/dislocker-0.7.1-r1.ebuild
+++ b/sys-fs/dislocker/dislocker-0.7.1-r1.ebuild
@@ -27,6 +27,8 @@ DEPEND="sys-fs/fuse:*
RDEPEND="${DEPEND}"
src_prepare() {
+ cmake-utils_src_prepare
+
# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE
# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die
diff --git a/sys-fs/dislocker/dislocker-9999.ebuild b/sys-fs/dislocker/dislocker-9999.ebuild
index f0bc602be4d9..7c81c7f8a1ce 100644
--- a/sys-fs/dislocker/dislocker-9999.ebuild
+++ b/sys-fs/dislocker/dislocker-9999.ebuild
@@ -27,6 +27,8 @@ DEPEND="sys-fs/fuse:*
RDEPEND="${DEPEND}"
src_prepare() {
+ cmake-utils_src_prepare
+
# We either need to change Werror to Wno-error or remove the multiple declarations of FORTIFY_SOURCE
# sed 's:Werror:Wno-error:g' -i "${S}/src/CMakeLists.txt" || die
sed 's:-D_FORTIFY_SOURCE=2::g' -i "${S}/src/CMakeLists.txt" || die