mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/zfs: Strip -Werror, bug #904378
Closes: https://bugs.gentoo.org/904378 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
@@ -225,6 +225,9 @@ src_prepare() {
|
||||
# Run unconditionally (bug #792627)
|
||||
eautoreconf
|
||||
|
||||
# strip forced -Werror, #904378
|
||||
sed -i '/BUILD_FREEBSD_TRUE/s/-Werror //g' Makefile.in || die
|
||||
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
# Set revision number
|
||||
sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release"
|
||||
|
||||
@@ -226,6 +226,9 @@ src_prepare() {
|
||||
# Run unconditionally (bug #792627)
|
||||
eautoreconf
|
||||
|
||||
# strip forced -Werror, #904378
|
||||
sed -i '/BUILD_FREEBSD_TRUE/s/-Werror //g' Makefile.in || die
|
||||
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
# Set revision number
|
||||
sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release"
|
||||
|
||||
Reference in New Issue
Block a user