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

(-)a/openoffice-3.2.1-r1.ebuild (-2 / +17 lines)
Lines 11-17 Link Here
11
11
12
inherit autotools bash-completion check-reqs db-use eutils fdo-mime flag-o-matic java-pkg-opt-2 kde4-base multilib python toolchain-funcs
12
inherit autotools bash-completion check-reqs db-use eutils fdo-mime flag-o-matic java-pkg-opt-2 kde4-base multilib python toolchain-funcs
13
13
14
IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin odk opengl pam templates"
14
IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin odk
15
opengl pam templates postgres"
15
16
16
MY_PV=3.2.1.6
17
MY_PV=3.2.1.6
17
PATCHLEVEL=OOO320
18
PATCHLEVEL=OOO320
Lines 136-142 Link Here
136
		sys-apps/shadow[pam] )
137
		sys-apps/shadow[pam] )
137
	java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
138
	java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
138
		>=dev-java/ant-core-1.7 )
139
		>=dev-java/ant-core-1.7 )
139
	ldap? ( net-nds/openldap )"
140
	ldap? ( net-nds/openldap )
141
	postgres? ( dev-db/postgresql-base )"
140
142
141
PROVIDE="virtual/ooo"
143
PROVIDE="virtual/ooo"
142
144
Lines 316-321 Link Here
316
	# Make sure gnome-users get gtk-support
318
	# Make sure gnome-users get gtk-support
317
	local GTKFLAG="--disable-gtk --disable-cairo --without-system-cairo"
319
	local GTKFLAG="--disable-gtk --disable-cairo --without-system-cairo"
318
	{ use gtk || use gnome; } && GTKFLAG="--enable-gtk --enable-cairo --with-system-cairo"
320
	{ use gtk || use gnome; } && GTKFLAG="--enable-gtk --enable-cairo --with-system-cairo"
321
	
322
	# adding --with-additional-sections=PostgreSQL to ${CONFFILE} has no effect
323
	local WITH_ADDITIONAL_SECTIONS=""
324
	if use postgres; then
325
	   WITH_ADDITIONAL_SECTIONS="--with-additional-sections=PostgreSQL"
326
	fi
319
327
320
	cd "${S}"
328
	cd "${S}"
321
	./configure --with-distro="Gentoo" \
329
	./configure --with-distro="Gentoo" \
Lines 345-350 Link Here
345
		--with-system-libwpg \
353
		--with-system-libwpg \
346
		--mandir=/usr/share/man \
354
		--mandir=/usr/share/man \
347
		--libdir=/usr/$(get_libdir) \
355
		--libdir=/usr/$(get_libdir) \
356
		${WITH_ADDITIONAL_SECTIONS} \
348
		|| die "Configuration failed!"
357
		|| die "Configuration failed!"
349
358
350
}
359
}
Lines 362-367 Link Here
362
	einfo "Preparing Installation"
371
	einfo "Preparing Installation"
363
	make DESTDIR="${D}" install || die "Installation failed!"
372
	make DESTDIR="${D}" install || die "Installation failed!"
364
373
374
	if use postgres; then
375
	   cp "${S}/build/OOO320_m19/connectivity/unxlngx6.pro/lib/postgresql-sdbc-0.7.6a.zip" \
376
	      "${D}"/usr/$(get_libdir)/openoffice/share/extension/install/  || die
377
	fi
378
365
	# Fix the permissions for security reasons
379
	# Fix the permissions for security reasons
366
	chown -RP root:0 "${D}"
380
	chown -RP root:0 "${D}"
367
381
Lines 393-398 Link Here
393
	elog " *) PDF Import "
407
	elog " *) PDF Import "
394
	elog " *) Presentation Console "
408
	elog " *) Presentation Console "
395
	elog " *) Presentation Minimizer "
409
	elog " *) Presentation Minimizer "
410
	use postgres && elog " *) Postgresql sdbc driver "
396
	elog
411
	elog
397
	elog " Please use the packages provided in "
412
	elog " Please use the packages provided in "
398
	elog " /usr/$(get_libdir)/openoffice/share/extension/install/ "
413
	elog " /usr/$(get_libdir)/openoffice/share/extension/install/ "

Return to bug 348140