Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 508342

Summary: gnome2.eclass: PATCHES and epatch_user support
Product: Gentoo Linux Reporter: Hristo Venev <hristo>
Component: EclassesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hristo Venev 2014-04-21 18:23:37 UTC
We can replace elibtoolize with autotools-utils_src_prepare.

Shouldn't libtoolize failure be fatal?

--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -10,7 +10,7 @@
 # Exports portage base functions used by ebuilds written for packages using the
 # GNOME framework. For additional functions, see gnome2-utils.eclass.
 
-inherit eutils fdo-mime libtool gnome.org gnome2-utils
+inherit eutils fdo-mime autotools-utils gnome.org gnome2-utils
 
 case "${EAPI:-0}" in
 	0|1)
@@ -94,14 +94,7 @@
 	# Disable all deprecation warnings
 	gnome2_disable_deprecation_warning
 
-	# Run libtoolize
-	if has ${EAPI:-0} 0 1 2 3; then
-		elibtoolize ${ELTCONF}
-	else
-		# Everything is fatal EAPI 4 onwards
-		nonfatal elibtoolize ${ELTCONF}
-	fi
-
+	autotools-utils_src_prepare
 }
 
 # @FUNCTION: gnome2_src_configure


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2014-04-23 20:06:30 UTC
dupe of bugs 413299 and 472928

*** This bug has been marked as a duplicate of bug 413299 ***