Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 142925 | Differences between
and this patch

Collapse All | Expand All

(-)db-4.2.52_p2-r1.ebuild.orig (-5 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.2.52_p2-r1.ebuild,v 1.12 2006/08/03 23:46:04 cardoe Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.2.52_p2-r1.ebuild,v 1.12 2006/08/03 23:46:04 cardoe Exp $
4
4
5
inherit eutils gnuconfig db
5
inherit eutils gnuconfig db java-pkg
6
6
7
#Number of official patches
7
#Number of official patches
8
#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"`
8
#PATCHNO=`echo ${PV}|sed -e "s,\(.*_p\)\([0-9]*\),\2,"`
Lines 34-39 Link Here
34
RDEPEND="tcl? ( dev-lang/tcl )
34
RDEPEND="tcl? ( dev-lang/tcl )
35
	java? ( virtual/jre )"
35
	java? ( virtual/jre )"
36
36
37
pkg_setup() {
38
	use java && java-pkg_pkg_setup
39
}
40
37
src_unpack() {
41
src_unpack() {
38
	unpack ${MY_P}.tar.gz
42
	unpack ${MY_P}.tar.gz
39
	cd ${WORKDIR}/${MY_P}
43
	cd ${WORKDIR}/${MY_P}
Lines 67-76 Link Here
67
		|| myconf="${myconf} --disable-tcl"
71
		|| myconf="${myconf} --disable-tcl"
68
72
69
	myconf="${myconf} $(use_enable java)"
73
	myconf="${myconf} $(use_enable java)"
70
	if use java && [[ -n ${JAVAC} ]] ; then
74
71
		export PATH=`dirname ${JAVAC}`:${PATH}
75
	use java && export JAVAC="$(java-config --javac)"
72
		export JAVAC=`basename ${JAVAC}`
73
	fi
74
76
75
	[[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}"
77
	[[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}"
76
78

Return to bug 142925