summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmacpi/wmacpi-2.3.ebuild')
-rw-r--r--x11-plugins/wmacpi/wmacpi-2.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-plugins/wmacpi/wmacpi-2.3.ebuild b/x11-plugins/wmacpi/wmacpi-2.3.ebuild
index 9ec5c98b617f..3160bc9b5b49 100644
--- a/x11-plugins/wmacpi/wmacpi-2.3.ebuild
+++ b/x11-plugins/wmacpi/wmacpi-2.3.ebuild
@@ -15,13 +15,15 @@ SLOT="0"
KEYWORDS="~amd64 -ppc -sparc ~x86"
IUSE=""
-DEPEND="x11-libs/libdockapp
+DEPEND=">=x11-libs/libdockapp-0.7:=
x11-libs/libX11"
S=${WORKDIR}/dockapps
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
+
+ sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
}
src_compile() {