diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.2019
Diffstat (limited to 'media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild')
-rw-r--r-- | media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild b/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild index 64e4f8d7f285..ead354248580 100644 --- a/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild +++ b/media-gfx/duhdraw/duhdraw-2.8.13-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit toolchain-funcs eutils +EAPI=7 +inherit toolchain-funcs DESCRIPTION="ASCII art editor" HOMEPAGE="http://www.cs.helsinki.fi/u/penberg/duhdraw" @@ -12,16 +12,19 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" -DEPEND="sys-libs/ncurses" +DEPEND="sys-libs/ncurses:0=" RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" -src_prepare() { - epatch "${FILESDIR}"/${P}-macos.patch - epatch "${FILESDIR}"/${P}-prestrip.patch -} +PATCHES=( + "${FILESDIR}"/${P}-macos.patch + "${FILESDIR}"/${P}-prestrip.patch +) src_compile() { - emake CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" + emake \ + CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \ + LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" } src_install() { |