Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2238 - pmud build fails if X is not installed. patch to fix ebuild and alter pmud Makefile (attached)
Summary: pmud build fails if X is not installed. patch to fix ebuild and alter pmud M...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-29 13:04 UTC by jakd
Modified: 2006-02-04 06:03 UTC (History)
0 users

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


Attachments
pmud-makefile-x.patch (for pmud files directory) (pmud-makefile-x.patch,698 bytes, patch)
2002-04-29 13:05 UTC, jakd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jakd 2002-04-29 13:04:07 UTC
--- sys-apps/pmud/pmud-0.10.1.ebuild.old        Mon Apr 29 11:51:22 2002
+++ sys-apps/pmud/pmud-0.10.1.ebuild    Mon Apr 29 12:58:40 2002
@@ -8,7 +8,8 @@
 DESCRIPTION="PowerMac power management utilities"
 SRC_URI="http://linuxppc.jvc.nl/${P}.tar.gz"
 HOMEPAGE="http://penguinppc.org/"
-DEPEND="sys-kernel/linux-headers"
+DEPEND="sys-kernel/linux-headers
+        X? ( x11-base/xfree )"
 RDEPEND="sys-apps/util-linux"
 
 src_unpack() {
@@ -17,6 +18,7 @@
        mv pmud-0.10 ${P}
        cd ${S}
        patch -p1 < ${FILESDIR}/pmud-file-locations.patch
+       use X || patch -p1 < ${FILESDIR}/pmud-makefile-x.patch
 }
 
 src_compile() {
Comment 1 jakd 2002-04-29 13:05:08 UTC
Created attachment 715 [details, diff]
pmud-makefile-x.patch  (for pmud files directory)
Comment 2 Pieter Van den Abeele (RETIRED) gentoo-dev 2002-04-29 16:30:12 UTC
Released a new version, in both x86 portage and ppc portage
thnxs
Comment 3 jakd 2002-04-30 23:02:21 UTC
for some reason the depend lost it's spaces on the X? conditional.  it should be
"X? ( x11-base/xfree )" but came over rsync as "X? (x11-base/xfree)"  this
causes an error on build and update world.