Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162728 - x11-wm/treewm should have x11-misc/imake as DEPEND
Summary: x11-wm/treewm should have x11-misc/imake as DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Desktop WM Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-19 01:28 UTC by Evan Deaubl
Modified: 2007-01-20 18:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild that fixes the build issue (treewm-0.4.5-r1.ebuild,988 bytes, text/plain)
2007-01-19 01:34 UTC, Evan Deaubl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Deaubl 2007-01-19 01:28:53 UTC
The treewm package has a couple of patched utilities that require the imake package installed to build, so the treewm-0.4.5 ebuild should depend on x11-misc/imake at build-time only.  It does not, so it fails to build if imake doesn't happen to already be installed as the result of another emerge.


Reproducible: Always

Steps to Reproduce:
1. Build x11-wm/treewm-0.4.5 without x11-misc/imake installed

Actual Results:  
Build fails

Expected Results:  
Build should succeed
Comment 1 Evan Deaubl 2007-01-19 01:34:27 UTC
Created attachment 107405 [details]
Updated ebuild that fixes the build issue

This ebuild is the same as treewm-0.4.5.ebuild, but adds the build-time dependency on x11-misc/imake, hence fixing the build.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-19 08:05:36 UTC
DEPEND, not RDEPEND.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-19 08:07:23 UTC
--- treewm-0.4.5.ebuild	2006-12-13 01:06:55.000000000 +0100
+++ treewm-0.4.5.ebuild	2007-01-19 09:06:41.000000000 +0100
@@ -10,14 +10,17 @@
 KEYWORDS="x86 sparc ppc"
 IUSE=""
 
-DEPEND="x11-proto/xf86vidmodeproto
-	x11-libs/libXau
+RDEPEND="x11-libs/libXau
 	x11-libs/libX11
 	x11-libs/libXext
 	x11-libs/libXxf86vm
 	x11-libs/libXdmcp
 	x11-libs/libXpm"
 
+DEPEND="${RDEPEND}
+	x11-proto/xf86vidmodeproto
+	x11-misc/imake"
+
 src_unpack() {
 	unpack ${A}
 	# bug 86453
Comment 4 David Shakaryan (RETIRED) gentoo-dev 2007-01-20 18:43:39 UTC
Fixed. Thanks for the report. :)