dev-libs/libixion: use more recent sys-devel/boost-m4
authorDavid Seifert <soap@gentoo.org>
Sun, 3 Apr 2016 19:21:27 +0000 (21:21 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 3 Apr 2016 19:21:49 +0000 (21:21 +0200)
Gentoo-Bug: 576462

Package-Manager: portage-2.2.28

dev-libs/libixion/libixion-0.9.1-r1.ebuild

index 6dc3c0e382a6a7e836dcb7c9b6b3e37af46b9f49..e829d566c0e373f186e2112818dd74424b265fab 100644 (file)
@@ -27,20 +27,25 @@ RDEPEND="
        python? ( ${PYTHON_DEPS} )
 "
 DEPEND="${RDEPEND}
+       >=sys-devel/boost-m4-0.4_p20160328
        >=dev-util/mdds-0.12.0:0=
 "
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+PATCHES=(
+       "${FILESDIR}/${PN}-0.9.1-typo.patch"
+       "${FILESDIR}/${PN}-0.9.1-python-optional.patch"
+)
 
 pkg_setup() {
        use python && python-single-r1_pkg_setup
 }
 
 src_prepare() {
-       eapply_user
+       default
 
-       eapply "${FILESDIR}/${PN}-0.9.1-typo.patch" \
-               "${FILESDIR}/${PN}-0.9.1-python-optional.patch"
+       # fixes bug 576462, which is due to an outdated bundled boost.m4
+       rm m4/boost.m4 || die
 
        eautoreconf
 }