summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2021-03-30 19:46:05 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-04-10 11:31:31 +0300
commit7ed60d149b153d1c6eefe8e4235f7c4e11b7c84e (patch)
tree159fc469a35e8e07f72cd120ba64cc50824f6b8a /media-gfx/xpaint
parentmedia-gfx/xpaint: fix emerging with `rdlibtool` (diff)
downloadgentoo-7ed60d149b153d1c6eefe8e4235f7c4e11b7c84e.tar.gz
gentoo-7ed60d149b153d1c6eefe8e4235f7c4e11b7c84e.tar.bz2
gentoo-7ed60d149b153d1c6eefe8e4235f7c4e11b7c84e.zip
media-gfx/xpaint: remove dependency on `x11-misc/imake`
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20165 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/xpaint')
-rw-r--r--media-gfx/xpaint/xpaint-3.1.3.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/media-gfx/xpaint/xpaint-3.1.3.ebuild b/media-gfx/xpaint/xpaint-3.1.3.ebuild
index df08e4c0d858..6c62608de446 100644
--- a/media-gfx/xpaint/xpaint-3.1.3.ebuild
+++ b/media-gfx/xpaint/xpaint-3.1.3.ebuild
@@ -41,7 +41,6 @@ BDEPEND="
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
- x11-misc/imake
"
PATCHES=(
@@ -56,12 +55,6 @@ src_prepare() {
}
src_configure() {
- # regenerate resources in app-defaults
- # Local.xawdefs is missing and imake was complaining about it, so use it to redefine SHAREDIR
- echo "SHAREDIR = \"${EPREFIX}\"/usr/share/xpaint" > Local.xawdefs || die
- xmkmf || die
- mv Makefile Makefile.resources || die
-
econf \
$(use_enable tiff) \
--disable-libdvipgm \
@@ -77,6 +70,9 @@ src_compile() {
emake substads
emake xpaint.1
+ # regenerate resources in app-defaults
+ rm XPaint.ad || die
+
default
emake \
WITH_PGF="$(usex pgf "yes" "no")" \
@@ -84,9 +80,6 @@ src_compile() {
CXX="$(tc-getCXX)" \
includedir="${EPREFIX}"/usr/include \
-C util
-
- # regenerate resources in app-defaults
- (rm XPaint.ad && emake -f Makefile.resources XPaint.ad) || die
}
src_install() {