summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-01-24 19:40:43 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-01-24 19:40:43 +0000
commit1531462a7121809f2bc5cb82c5baaf67453f3b97 (patch)
tree2a513cf0931a286aeb3ba1c34bea7cfe13615c23 /dev-lang/swig
parentFixed dependency typo (diff)
downloadgentoo-2-1531462a7121809f2bc5cb82c5baaf67453f3b97.tar.gz
gentoo-2-1531462a7121809f2bc5cb82c5baaf67453f3b97.tar.bz2
gentoo-2-1531462a7121809f2bc5cb82c5baaf67453f3b97.zip
Fixed Java support
Diffstat (limited to 'dev-lang/swig')
-rw-r--r--dev-lang/swig/swig-1.3.10-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-lang/swig/swig-1.3.10-r1.ebuild b/dev-lang/swig/swig-1.3.10-r1.ebuild
index b7a7cf713336..f105d5d49ea5 100644
--- a/dev-lang/swig/swig-1.3.10-r1.ebuild
+++ b/dev-lang/swig/swig-1.3.10-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Tools Team <tools@gentoo.org>
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.10-r1.ebuild,v 1.1 2002/01/15 01:27:50 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.10-r1.ebuild,v 1.2 2002/01/24 19:40:43 karltk Exp $
S=${WORKDIR}/SWIG-${PV}
DESCRIPTION="Simplied Wrapper and Interface Generator"
@@ -24,7 +24,7 @@ src_compile() {
local myc
use python && myc="$myc --with-py" || myc="$myc --without-py"
- use java && myc="$myc --with-java=$JAVA_HOME" || myc="$myc --without-java"
+ use java && myc="$myc --with-java=$JAVA_HOME --with-javaincl=${JAVA_HOME}/include" || myc="$myc --without-java"
use ruby && myc="$myc --with-ruby" || myc="$myc --without-ruby"
use guile && myc="$myc --with-guile" || myc="$myc --without-guile"
use tcltk && myc="$myc --with-tcl" || myc="$myc --without-tcl"
@@ -32,12 +32,13 @@ src_compile() {
unset CXXFLAGS
unset CFLAGS
+
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
- $myconf || die "./configure failed"
+ $myc || die "./configure failed"
make || die
}