make it find jni.h
authorThomas Matthijs <axxo@gentoo.org>
Tue, 28 Dec 2004 12:55:12 +0000 (12:55 +0000)
committerThomas Matthijs <axxo@gentoo.org>
Tue, 28 Dec 2004 12:55:12 +0000 (12:55 +0000)
dev-java/libgconf-java/ChangeLog
dev-java/libgconf-java/Manifest
dev-java/libgconf-java/libgconf-java-2.8.2.ebuild

index dedd869616923d0d837186e8b834a496fc16da55..8aed1786493512f398cf9a0fe97776380015d77c 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-java/libgconf-java
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/ChangeLog,v 1.3 2004/12/21 20:07:25 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/ChangeLog,v 1.4 2004/12/28 12:55:12 axxo Exp $
+
+  28 Dec 2004; Thomas Matthijs <axxo@gentoo.org> libgconf-java-2.8.2.ebuild:
+  make it find jni.h
 
   04 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> :
   Initial import. Fixes #70562.
index ebecff35c550b93f08c32c5af851d8b43591e5d5..ceccf85ffbd1fea0347994bfb34b14f8d1ede20f 100644 (file)
@@ -1,5 +1,15 @@
-MD5 2ecd005a12bfdb7f4ce94b8d2570dffe ChangeLog 663
-MD5 bff9bb45e1b3add0e17e671ca1a71bfa libgconf-java-2.8.2.ebuild 3248
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0d0d2bae27f2305e11a75db15cac921d ChangeLog 760
+MD5 39b0d1bcd2ea46c03b2cb7b59f66443c libgconf-java-2.8.2.ebuild 3383
 MD5 2e1952c33e5bcce8813dec9d43203e29 metadata.xml 1042
 MD5 f68363dbf78345af0bea956d309d2f66 files/digest-libgconf-java-2.8.2 71
 MD5 03c4b5ccb943b51e5259e5046ff30719 files/libgconf-java-2.8.2_gentoo-PN-SLOT.patch 994
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB0VfL/rLF9B432nYRAly9AJ0VKM8IgUUIsp8qsYt/iIDxyUeIdgCfR9s2
+FokM9L0edCBsJxH4onxXagQ=
+=Kb88
+-----END PGP SIGNATURE-----
index 11544c9b1727d97b5d76eed5b1247d6f74016c3f..7971dbf554b59083657291076ab65c34c252157b 100644 (file)
@@ -1,16 +1,16 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild,v 1.1 2004/12/04 13:34:12 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgconf-java/libgconf-java-2.8.2.ebuild,v 1.2 2004/12/28 12:55:12 axxo Exp $
 
 #
-# WARNING: Because java-gnome is a set of bindings to native GNOME libraries, 
-# it has, like any GNOME project, a massive autoconf setup, and unlike many 
+# WARNING: Because java-gnome is a set of bindings to native GNOME libraries,
+# it has, like any GNOME project, a massive autoconf setup, and unlike many
 # other java libraries, it has its own [necessary] `make install` step.
 # As a result, this ebuild is VERY sensitive to the internal layout of the
 # upstream project. Because these issues are currently evolving upstream,
 # simply version bumping this ebuild is not likely to work but FAILURES WILL
 # BE VERY SUBTLE IF IT DOESN NOT WORK.
-# 
+#
 
 inherit eutils gnome.org
 
@@ -21,7 +21,7 @@ RDEPEND=">=gnome-base/gconf-2.8.0
        >=virtual/jre-1.2"
 
 #
-# Unfortunately we need to run autogen to do the variable substitutions, so 
+# Unfortunately we need to run autogen to do the variable substitutions, so
 # regardless of whether or not there is an upstream ./configure [at time of
 # writing there isn't] we need to recreate it
 #
@@ -44,6 +44,7 @@ src_unpack() {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/libgconf-java-2.8.2_gentoo-PN-SLOT.patch
+       sed -i "s|^\(JAVA_INCLUDES = \)|\1 -I\${JDK_HOME}/include -I\${JDK_HOME}/include/linux/|" src/Makefile.in || die "sed failed"
 }
 
 src_compile() {
@@ -54,7 +55,7 @@ src_compile() {
        cd ${S}
 
        #
-       # Ordinarily, moving things around post `make install` would do 
+       # Ordinarily, moving things around post `make install` would do
        # the trick, but there are paths hard coded in .pc files and in the
        # `make install` step itself that need to be influenced.
        #
@@ -63,7 +64,7 @@ src_compile() {
                --host=${CHOST} \
                --prefix=/usr \
                        ${conf} || die "./configure failed"
-       make || die
+       make || die "compile failed"
 }
 
 src_install() {
@@ -81,7 +82,7 @@ src_install() {
        # the upstream install scatters things around a bit. The following cleans
        # that up to make it policy compliant.
 
-       # I originally tried java-pkg_dojar here, but it has a few glitches 
+       # I originally tried java-pkg_dojar here, but it has a few glitches
        # like not copying symlinks as symlinks which makes a mess.
 
        dodir /usr/share/${PN}-${SLOT}/lib
@@ -92,7 +93,7 @@ src_install() {
        cd ${S}/src/java
        zip -r ${D}/usr/share/${PN}-${SLOT}/src/libgconf-java-${PV}.src.zip *
 
-       # again, with dojar misbehaving, better do to this manually for the 
+       # again, with dojar misbehaving, better do to this manually for the
        # time being. Yes, this is bad hard coding, but what in this ebuild isn't?
 
        # karltk: Missing generation of dependencies, should be fixed.