Gentoo Archives: gentoo-science

From: Olivier Crauste <olivier.crauste@×××××.com>
To: gentoo-science@l.g.o
Subject: [gentoo-science] paw-2.14.04-r2 ebuild compile problems
Date: Mon, 21 May 2007 12:58:11
Message-Id: 8b3418700705210557o67988170p1a5e06e49f624326@mail.gmail.com
1 Hi there,
2
3 I recently wanted to install paw but the 2.14.04-r2 ebuild died with "sed
4 failed".
5 After a fast search, I found that tries to patch wrong directories :
6 the "${S}" variable is "[...]/paw-2.14.04.dfsg.orig" but the real directory
7 is "[...]/paw_2.14.04.dfsg.orig"
8
9 To make it compiles, I've added to the ebuild's 'src_unpack' function the 2
10 lines below:
11 mv "${WORKDIR}/${DEB_PN}_${DEB_PV}.orig" ${S}
12 mv "${WORKDIR}/${DEB_PN}-${DEB_PV}/debian" ${S}/
13
14
15 I'm sure there is a better way for this bug, but it works.
16
17 Kind regards
18
19 Olivier Crauste