Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 82648
Collapse All | Expand All

(-)subversion-1.1.1-r3.ebuild.orig (-3 / +13 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/dev-util/subversion/subversion-1.1.1-r3.ebuild,v 1.14 2005/02/24 01:42:35 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.1.1-r3.ebuild,v 1.14 2005/02/24 01:42:35 vapier Exp $
4
4
5
inherit elisp-common libtool python eutils bash-completion
5
inherit elisp-common libtool python eutils bash-completion perl-module
6
6
7
DESCRIPTION="A compelling replacement for CVS"
7
DESCRIPTION="A compelling replacement for CVS"
8
HOMEPAGE="http://subversion.tigris.org/"
8
HOMEPAGE="http://subversion.tigris.org/"
Lines 122-127 Link Here
122
	fi
122
	fi
123
123
124
	if use python; then
124
	if use python; then
125
		einfo "Building python bindings"
125
		# Building fails without the apache apr-util as includes are wrong.
126
		# Building fails without the apache apr-util as includes are wrong.
126
		if use apache2; then
127
		if use apache2; then
127
			emake swig-py || die "subversion python bindings failed"
128
			emake swig-py || die "subversion python bindings failed"
Lines 131-142 Link Here
131
	fi
132
	fi
132
133
133
	if use perl; then
134
	if use perl; then
135
		einfo "Building Perl bindings"
134
		# Work around a buggy Makefile.PL, bug 64634
136
		# Work around a buggy Makefile.PL, bug 64634
135
		mkdir -p subversion/bindings/swig/perl/native/blib/arch/auto/SVN/{_Client,_Delta,_Fs,_Ra,_Repos,_Wc}
137
		mkdir -p subversion/bindings/swig/perl/native/blib/arch/auto/SVN/{_Client,_Delta,_Fs,_Ra,_Repos,_Wc}
136
		make swig-pl || die "Perl library building failed"
138
		make swig-pl || die "Perl library building failed"
137
	fi
139
	fi
138
140
139
	if use java; then
141
	if use java; then
142
		einfo "Building Java bindings"
140
		# ensure that the destination dir exists, else some compilation fails
143
		# ensure that the destination dir exists, else some compilation fails
141
		mkdir -p ${S}/subversion/bindings/java/javahl/classes
144
		mkdir -p ${S}/subversion/bindings/java/javahl/classes
142
		# Compile javahl
145
		# Compile javahl
Lines 144-150 Link Here
144
	fi
147
	fi
145
148
146
	if use emacs; then
149
	if use emacs; then
147
		einfo "compiling emacs support"
150
		einfo "Compiling Emacs support"
148
		elisp-compile ${S}/contrib/client-side/psvn/psvn.el || die "emacs modules failed"
151
		elisp-compile ${S}/contrib/client-side/psvn/psvn.el || die "emacs modules failed"
149
		elisp-compile ${S}/contrib/client-side/vc-svn.el || die "emacs modules failed"
152
		elisp-compile ${S}/contrib/client-side/vc-svn.el || die "emacs modules failed"
150
	fi
153
	fi
Lines 173-178 Link Here
173
176
174
	dobin svn-config
177
	dobin svn-config
175
	if use python; then
178
	if use python; then
179
		einfo "Installing Python bindings"
176
		make install-swig-py DESTDIR=${D} DISTUTIL_PARAM=--prefix=${D}  LD_LIBRARY_PATH="-L${D}/usr/lib" || die "Installation of subversion python bindings failed"
180
		make install-swig-py DESTDIR=${D} DISTUTIL_PARAM=--prefix=${D}  LD_LIBRARY_PATH="-L${D}/usr/lib" || die "Installation of subversion python bindings failed"
177
181
178
		# move python bindings
182
		# move python bindings
Lines 182-190 Link Here
182
		rmdir ${D}/usr/lib/svn-python
186
		rmdir ${D}/usr/lib/svn-python
183
	fi
187
	fi
184
	if use perl; then
188
	if use perl; then
185
		make DESTDIR=${D} install-swig-pl || die "Perl library building failed"
189
		einfo "Installing Perl bindings"
190
		myinst="DESTDIR=${D}"
191
		mytargets="install-swig-pl"
192
		perl-module_src_install || die "perl module failed to install"
186
	fi
193
	fi
187
	if use java; then
194
	if use java; then
195
		einfo "Installing Java bindings"
188
		make DESTDIR="${D}" install-javahl || die "installation failed"
196
		make DESTDIR="${D}" install-javahl || die "installation failed"
189
	fi
197
	fi
190
198
Lines 263-268 Link Here
263
}
271
}
264
272
265
pkg_postinst() {
273
pkg_postinst() {
274
	use perl > /dev/null && updatepod
266
	use emacs >/dev/null && elisp-site-regen
275
	use emacs >/dev/null && elisp-site-regen
267
276
268
	einfo "Subversion Server Notes"
277
	einfo "Subversion Server Notes"
Lines 309-314 Link Here
309
}
318
}
310
319
311
pkg_postrm() {
320
pkg_postrm() {
321
	has_version dev-lang/perl && updatepod
312
	has_version virtual/emacs && elisp-site-regen
322
	has_version virtual/emacs && elisp-site-regen
313
}
323
}
314
324

Return to bug 82648