summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 19:20:24 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 19:46:39 -0700
commit9cb2fac8294b35bda9ac7ca28b152d62569e4d3f (patch)
treecdefc1211ae7c19dfcf57c20a3e3779329cff074 /media-libs
parentmedia-gfx/openmesh: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-9cb2fac8294b35bda9ac7ca28b152d62569e4d3f.tar.gz
gentoo-9cb2fac8294b35bda9ac7ca28b152d62569e4d3f.tar.bz2
gentoo-9cb2fac8294b35bda9ac7ca28b152d62569e4d3f.zip
media-libs/allegro: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/allegro/allegro-4.4.2-r1.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild b/media-libs/allegro/allegro-4.4.2-r1.ebuild
index a8080d151cb2..5b8e1b43dc4d 100644
--- a/media-libs/allegro/allegro-4.4.2-r1.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild
@@ -42,11 +42,15 @@ DEPEND="${RDEPEND}
x11-proto/xproto
)"
+PATCHES=(
+ "${FILESDIR}"/${P}-shared.patch
+ "${FILESDIR}"/${P}-underlink.patch
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-rpath.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-shared.patch \
- "${FILESDIR}"/${P}-underlink.patch \
- "${FILESDIR}"/${P}-gentoo.patch \
- "${FILESDIR}"/${P}-rpath.patch
+ cmake-utils_src_prepare
sed -i \
-e "s:allegro-\${ALLEGRO_VERSION}:${PF}:" \