summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-06-03 16:21:32 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-06-03 16:21:32 +0000
commit4c3f91490d27f5d79f5074e55842e8a006d67024 (patch)
tree14caad32e5e5624449bb342e13fac949847d2a82 /kde-base/dcopjava/dcopjava-3.5.3.ebuild
parentAdd ~alpha wrt #173114 (diff)
downloadgentoo-2-4c3f91490d27f5d79f5074e55842e8a006d67024.tar.gz
gentoo-2-4c3f91490d27f5d79f5074e55842e8a006d67024.tar.bz2
gentoo-2-4c3f91490d27f5d79f5074e55842e8a006d67024.zip
Added patch from bug 139912 to make it compile at least.
(Portage version: 2.1.2.9)
Diffstat (limited to 'kde-base/dcopjava/dcopjava-3.5.3.ebuild')
-rw-r--r--kde-base/dcopjava/dcopjava-3.5.3.ebuild20
1 files changed, 15 insertions, 5 deletions
diff --git a/kde-base/dcopjava/dcopjava-3.5.3.ebuild b/kde-base/dcopjava/dcopjava-3.5.3.ebuild
index 6fe67466df31..663dafa819e3 100644
--- a/kde-base/dcopjava/dcopjava-3.5.3.ebuild
+++ b/kde-base/dcopjava/dcopjava-3.5.3.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/dcopjava/dcopjava-3.5.3.ebuild,v 1.5 2007/05/24 11:08:31 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/dcopjava/dcopjava-3.5.3.ebuild,v 1.6 2007/06/03 16:21:32 philantrop Exp $
# NOTE TODO install a jar file rather than a tree of class files, and use java-pkg.eclass,
# in keeping with policy
+# Do NOT stable this package!
+
KMNAME=kdebindings
KMEXTRACTONLY="kdejava/configure.in.in"
KM_MAKEFILESREV=1
@@ -13,18 +15,26 @@ KM_DEPRANGE="$PV $MAXKDEVER"
inherit kde-meta
DESCRIPTION="Java bindings for DCOP"
-KEYWORDS="~amd64 ~x86" # broken according to upstream - 3.4a1 README
+KEYWORDS="~amd64 ~x86" # possibly broken according to upstream - 3.5.7 README
IUSE=""
DEPEND="virtual/jdk"
RDEPEND="virtual/jre"
PATCHES="$FILESDIR/no-gtk-glib-check.diff"
-
pkg_setup() {
- ewarn "This package is consdered broken by upstream. You're on your own."
+ ewarn "This package is considered \"possibly broken\" by upstream. You're on your own."
+}
+
+src_unpack() {
+ kde-meta_src_unpack
+
+ cd "${S}"/dcopjava/binding/org/kde/DCOP/
+ for x in Makefile.am Makefile.in; do
+ sed -e "s/-cp/-classpath/" -i ${x}
+ done
}
src_compile () {
- myconf="$myconf --with-java=`java-config --jdk-home`"
+ myconf="$myconf --with-java=$(java-config --jdk-home)"
kde-meta_src_compile
}