commit:     c13c78180b2338d95ffbbf776ee4f3c3702170d5
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 29 17:11:38 2021 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Tue Jun 29 17:11:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13c7818

sci-electronics/puff: Adapt to changes in Free Pascal compiler

Closes: https://bugs.gentoo.org/798264
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 sci-electronics/puff/puff-20100127-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sci-electronics/puff/puff-20100127-r1.ebuild 
b/sci-electronics/puff/puff-20100127-r1.ebuild
index 0c27ca623e4..c13ddfb1131 100644
--- a/sci-electronics/puff/puff-20100127-r1.ebuild
+++ b/sci-electronics/puff/puff-20100127-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,9 +20,10 @@ DEPEND="${RDEPEND}
 src_prepare() {
        default
        # fix lib path for X11 and dont ignore LDFLAGS
-       sed -i -e "s#lib\\\/#$(get_libdir)\\\/#" \
+       sed -i  -e "s#lib\\\/#$(get_libdir)\\\/#" \
                -e 's/CFLAGS/#CFLAGS/' \
-               -e 's/link.res pu/link.res $(LDFLAGS) pu/' Makefile || die
+               -e 's/link.res/.res/g' \
+               -e 's/.res pu/.res $(LDFLAGS) pu/' Makefile || die
 }
 
 src_compile() {

Reply via email to