1 |
xarthisius 11/07/31 07:52:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ekopath-4.0.10_pre20110717-r1.ebuild |
5 |
Removed: ekopath-4.0.10_pre20110717.ebuild |
6 |
Log: |
7 |
Use PN rather than P in path, in order not to break things relying on compiler location on every update. Fixes bug 377113 by Diego Elio Pettenò <flameeyes@g.o> |
8 |
|
9 |
(Portage version: 2.2.0_alpha49/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 dev-lang/ekopath/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ChangeLog?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- ChangeLog 27 Jul 2011 09:34:06 -0000 1.2 |
25 |
+++ ChangeLog 31 Jul 2011 07:52:56 -0000 1.3 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for dev-lang/ekopath |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.2 2011/07/27 09:34:06 xarthisius Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ChangeLog,v 1.3 2011/07/31 07:52:56 xarthisius Exp $ |
31 |
+ |
32 |
+*ekopath-4.0.10_pre20110717-r1 (31 Jul 2011) |
33 |
+ |
34 |
+ 31 Jul 2011; Kacper Kowalik <xarthisius@g.o> |
35 |
+ -ekopath-4.0.10_pre20110717.ebuild, +ekopath-4.0.10_pre20110717-r1.ebuild: |
36 |
+ Use PN rather than P in path, in order not to break things relying on |
37 |
+ compiler location on every update. Fixes bug 377113 by Diego Elio Pettenò |
38 |
+ <flameeyes@g.o> |
39 |
|
40 |
27 Jul 2011; Kacper Kowalik <xarthisius@g.o> |
41 |
ekopath-4.0.10_pre20110717.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 dev-lang/ekopath/ekopath-4.0.10_pre20110717-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110717-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110717-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: ekopath-4.0.10_pre20110717-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ekopath/ekopath-4.0.10_pre20110717-r1.ebuild,v 1.1 2011/07/31 07:52:56 xarthisius Exp $ |
55 |
|
56 |
EAPI=4 |
57 |
|
58 |
inherit versionator |
59 |
|
60 |
MY_PV=$(get_version_component_range 1-3) |
61 |
DATE=$(get_version_component_range 4) |
62 |
DATE=${DATE/pre} |
63 |
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6} |
64 |
|
65 |
DESCRIPTION="PathScale EKOPath Compiler Suite" |
66 |
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite" |
67 |
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${PN}-${DATE}-installer.run |
68 |
-> ${P}.run" |
69 |
|
70 |
LICENSE="GPL-3" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64" |
73 |
IUSE="" |
74 |
|
75 |
RESTRICT="mirror" |
76 |
|
77 |
S=${WORKDIR} |
78 |
|
79 |
PATHSCALE_SDP_DIR=/opt/${PN} |
80 |
|
81 |
QA_PREBUILT=" |
82 |
${PATHSCALE_SDP_DIR}/lib/${MY_PV}/x8664/* |
83 |
${PATHSCALE_SDP_DIR}/bin/pathcc* |
84 |
${PATHSCALE_SDP_DIR}/bin/pathas |
85 |
${PATHSCALE_SDP_DIR}/bin/assign" |
86 |
|
87 |
pkg_pretend() { |
88 |
if has_version app-arch/rpm ; then |
89 |
ewarn "You have app-arch/rpm installed on your system. Therefore" |
90 |
ewarn "${PN} will fail to install due to sandbox violation." |
91 |
ewarn "As this cannot be fixed on distribution level, please use" |
92 |
ewarn "following workaround:" |
93 |
ewarn " emerge -C rpm && emerge -1 ${PN} && emerge -1 rpm" |
94 |
die |
95 |
fi |
96 |
} |
97 |
|
98 |
src_unpack() { |
99 |
cp "${DISTDIR}"/${A} "${S}" || die |
100 |
chmod +x "${S}"/${P}.run |
101 |
} |
102 |
|
103 |
src_prepare() { |
104 |
cat > "99${PN}" <<-EOF |
105 |
PATH=/opt/${PN}/bin |
106 |
ROOTPATH=/opt/${PN}/bin |
107 |
LDPATH=/opt/${PN}/lib:/opt/${PN}/lib/${MY_PV}/x8664/64 |
108 |
EOF |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
./${P}.run \ |
113 |
--prefix "${D}/opt/${PN}" \ |
114 |
--mode unattended || die |
115 |
rm -rf "${D}"/opt/${PN}/uninstall || die |
116 |
doenvd "99${PN}" |
117 |
} |