Bug 29508 - USE="-X" emerge pdv fails due to incorrect line in ebuild.
Bug#: 29508 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: pYrania@gentoo.org Reported By: brandy@gentoo.org
Component: Applications
URL: 
Summary: USE="-X" emerge pdv fails due to incorrect line in ebuild.
Keywords:  
Status Whiteboard: 
Opened: 2003-09-24 06:20 0000
Description:   Opened: 2003-09-24 06:20 0000
Without X in our USE flags, pdv will not be installed: 
 
	>>> Install pdv-1.5.1 into /var/tmp/portage/pdv-1.5.1/image/ 
	    category app-arch 
 
	!!! ERROR: app-arch/pdv-1.5.1 failed. 
	!!! Function src_install, Line 25, Exitcode 1 
	!!! (no error message) 
 
This is due to the following line present in the ebuild: 
 
	use X && dobin X11/xmpdvmkpkg || die 
 
It's better to use something like: 
 
	if [ `use X` ] ; then 
		dobin X11/xmpdvmkpkg || die 
	fi

------- Comment #1 From Markus Nigbur (RETIRED) 2003-09-24 13:44:41 0000 -------
Thanks Brandy. Fixed in unstable.

------- Comment #2 From Markus Nigbur (RETIRED) 2003-11-16 15:19:59 0000 -------
test

------- Comment #3 From Markus Nigbur (RETIRED) 2003-11-17 13:48:11 0000 -------
didn't work. :(

bumped to stable.