summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-11 03:03:58 +0000
committerSam James <sam@gentoo.org>2021-03-11 03:08:22 +0000
commit89eee4970acdaabac4ec5c7d62ea242b46b9fc4f (patch)
tree16787416eb83544dd393ba7462a87cce15f00e13 /net-mail/mlmmj
parentdev-libs/libical: Stabilize 3.0.9 ppc64, #770304 (diff)
downloadgentoo-89eee4970acdaabac4ec5c7d62ea242b46b9fc4f.tar.gz
gentoo-89eee4970acdaabac4ec5c7d62ea242b46b9fc4f.tar.bz2
gentoo-89eee4970acdaabac4ec5c7d62ea242b46b9fc4f.zip
net-mail/mlmmj: fix hardcoded paths
Closes: https://bugs.gentoo.org/259962 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/mlmmj')
-rw-r--r--net-mail/mlmmj/mlmmj-1.3.0-r1.ebuild (renamed from net-mail/mlmmj/mlmmj-1.3.0.ebuild)9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-mail/mlmmj/mlmmj-1.3.0.ebuild b/net-mail/mlmmj/mlmmj-1.3.0-r1.ebuild
index 94c0519b7e98..45fa2b38bdcb 100644
--- a/net-mail/mlmmj/mlmmj-1.3.0.ebuild
+++ b/net-mail/mlmmj/mlmmj-1.3.0-r1.ebuild
@@ -21,6 +21,15 @@ PATCHES=(
"${FILESDIR}"/mlmmj-1.3.0-gcc-10.patch
)
+src_prepare() {
+ default
+
+ # bug #259962
+ for file in $(find . -iname "*.cgi") ; do
+ sed -i -e "s:/usr/local/bin/:${EPREFIX}/usr/bin/:" "${file}" || die
+ done
+}
+
src_configure() {
econf --enable-receive-strip
}