Apply patch explicitely.
[overlay.git] / net-p2p / amule / amule-2.2.6.ebuild
index c09b90b..59177e3 100644 (file)
@@ -27,10 +27,6 @@ DEPEND="=x11-libs/wxGTK-2.8*
        remote? ( >=media-libs/libpng-1.2.0
        unicode? ( >=media-libs/gd-2.0.26 ) )"
 
-PATCHES=(
-       "${FILESDIR}/${PN}-2.2.6-remove-download-limit.patch"   
-       )
-
 pkg_setup() {
        if ! use gtk && ! use remote && ! use daemon; then
                eerror ""
@@ -81,6 +77,8 @@ src_configure() {
                        --disable-alc"
        fi
 
+       epatch "${FILEDIR}/${PN}-2.2.6-remove-download-limit.patch"
+
        econf \
                --with-wx-config=${WX_CONFIG} \
                --with-wxbase-config=${WX_CONFIG} \