diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 03:04:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-31 03:04:34 +0000 |
commit | 7785404bd292918a4afd4780ccfc36d6626a49ca (patch) | |
tree | f20efc4a5e07261ddffa4c95f429a7facf18cd05 /sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild | |
parent | 34956175e774668656885552a9c94abab557e41c (diff) |
gentoo auto-resync : 31:10:2022 - 03:04:34
Diffstat (limited to 'sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild')
-rw-r--r-- | sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild index 74c4e010e73a..9edc596d1197 100644 --- a/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild +++ b/sys-fs/multipath-tools/multipath-tools-0.9.3.ebuild @@ -29,11 +29,9 @@ BDEPEND="virtual/pkgconfig" CONFIG_CHECK="~DM_MULTIPATH" -PATCHES=( ) - src_prepare() { default - # life is too short for some trivial patches + sed -r -i -e '/^(CPPFLAGS|CFLAGS)\>/s,^(CPPFLAGS|CFLAGS)\>[[:space:]]+:=,\1 := $(GENTOO_\1),' \ "${S}"/Makefile.inc || die } @@ -55,7 +53,9 @@ src_compile() { src_install() { dodir /sbin - # upstream makefile has terrible $(prefix) choices + + # Please clean this up > 0.9.3: https://github.com/opensvc/multipath-tools/pull/53 + # $(prefix) doesn't work correctly in makefile in 0.9.3. emake \ DESTDIR="${ED}" \ prefix="${EPREFIX}" \ @@ -67,6 +67,7 @@ src_install() { GENTOO_CFLAGS="${CFLAGS}" \ GENTOO_CPPFLAGS="${CPPFLAGS}" \ install + rmdir "${ED}"/usr/include rmdir "${ED}"/usr/share mv "${ED}"/include "${ED}"/usr/include || die |