summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/xpaint/xpaint-2.10.2-r1.ebuild')
-rw-r--r--media-gfx/xpaint/xpaint-2.10.2-r1.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild b/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild
index 86563f5c2aba..53779ba99c75 100644
--- a/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild
+++ b/media-gfx/xpaint/xpaint-2.10.2-r1.ebuild
@@ -45,13 +45,9 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${P}-libtool-clang.patch
+ "${FILESDIR}"/${P}-respect-ldflags.patch
)
-src_prepare() {
- default
- sed -i -e 's/-O3 -s//g' util/Makefile || die
-}
-
src_configure() {
econf \
$(use_enable tiff) \
@@ -83,5 +79,5 @@ src_install() {
-C util install
doicon icons/xpaint.svg
make_desktop_entry "${PN}"
- find "${D}" \( -name '*.la' -o -name '*.a' \) -type f -delete || die
+ find "${ED}" \( -name '*.la' -o -name '*.a' \) -type f -delete || die
}