summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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}:" \