summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/swig/swig-1.3.25.ebuild')
-rw-r--r--dev-lang/swig/swig-1.3.25.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-lang/swig/swig-1.3.25.ebuild b/dev-lang/swig/swig-1.3.25.ebuild
index 4c1c1eadbc08..2bd3c33e542c 100644
--- a/dev-lang/swig/swig-1.3.25.ebuild
+++ b/dev-lang/swig/swig-1.3.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.25.ebuild,v 1.3 2005/10/22 20:50:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-1.3.25.ebuild,v 1.1 2005/09/11 10:24:04 chriswhite Exp $
inherit flag-o-matic mono eutils #48511
@@ -25,6 +25,12 @@ DEPEND="virtual/libc
X? ( dev-lang/tk )
)"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:-name jni_md.h -print:-xtype f -name jni_md.h -print:g' configure
+}
+
src_compile() {
strip-flags
@@ -40,7 +46,7 @@ src_compile() {
$(use_with java javaincl "${JAVA_HOME}/include") \
$(use_with perl perl5 /usr/bin/perl) \
$(use_with php php4) \
- $(use_with python python python) \
+ $(use_with python py) \
$(use_with ruby ruby /usr/bin/ruby) \
$(use_with tcltk tcl) \
|| die