summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-05-17 00:04:22 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-05-17 00:04:22 +0900
commit534e5ea7e9f5aa15de74a6da8004cf530f91a34f (patch)
treed600c81bdf3d65848e263e8f67afdd967c8b2902 /app-editors
parentapp-editors/ee: fix build with sys-libs/ncurses[tinfo] (diff)
downloadgentoo-534e5ea7e9f5aa15de74a6da8004cf530f91a34f.tar.gz
gentoo-534e5ea7e9f5aa15de74a6da8004cf530f91a34f.tar.bz2
gentoo-534e5ea7e9f5aa15de74a6da8004cf530f91a34f.zip
app-editors/aee: fix build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/715782 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/aee/aee-2.2.21.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-editors/aee/aee-2.2.21.ebuild b/app-editors/aee/aee-2.2.21.ebuild
index 69453af195f..b4b1aa5d647 100644
--- a/app-editors/aee/aee-2.2.21.ebuild
+++ b/app-editors/aee/aee-2.2.21.ebuild
@@ -17,6 +17,7 @@ IUSE="X"
RDEPEND="X? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${PN}-ae-location.patch
@@ -36,6 +37,7 @@ src_prepare() {
-e "s/\([\t ]\)cc /\1\\\\\$(CC) /" \
-e "/CFLAGS =/s/\" >/ \\\\\$(LDFLAGS)\" >/" \
-e "/other_cflag/s/ \${strip_option}//" \
+ -e "s/-lcurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
create.mk.{aee,xae}
default