Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/nqc: ChangeLog nqc-3.1_p4.ebuild nqc-3.1_p6.ebuild
Date: Thu, 30 Dec 2010 18:43:08
Message-Id: 20101230184258.E4C5E20054@flycatcher.gentoo.org
1 jer 10/12/30 18:42:58
2
3 Modified: ChangeLog nqc-3.1_p4.ebuild
4 Added: nqc-3.1_p6.ebuild
5 Log:
6 Version bump. Respect LDFLAGS (bug #338168), CXX. Marked ~ppc again. Set RDEPEND.
7
8 (Portage version: 2.2.0_alpha10/cvs/Linux i686)
9
10 Revision Changes Path
11 1.16 dev-lang/nqc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/nqc/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 23 Oct 2009 15:48:24 -0000 1.15
24 +++ ChangeLog 30 Dec 2010 18:42:58 -0000 1.16
25 @@ -1,51 +1,11 @@
26 # ChangeLog for dev-lang/nqc
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/ChangeLog,v 1.15 2009/10/23 15:48:24 vostorga Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/ChangeLog,v 1.16 2010/12/30 18:42:58 jer Exp $
31
32 - 23 Oct 2009; Víctor Ostorga <vostorga@g.o> nqc-2.5.1.ebuild:
33 - Adding die to make install
34 +*nqc-3.1_p6 (30 Dec 2010)
35
36 - 23 Sep 2009; Patrick Lauer <patrick@g.o> nqc-2.5.1.ebuild,
37 - nqc-3.1_p4.ebuild:
38 - Remove virtual/libc
39 + 30 Dec 2010; Jeroen Roovers <jer@g.o> nqc-3.1_p4.ebuild,
40 + +nqc-3.1_p6.ebuild:
41 + Version bump. Respect LDFLAGS (bug #338168), CXX. Marked ~ppc again. Set
42 + RDEPEND.
43
44 - 29 May 2008; Christian Heim <phreak@g.o> metadata.xml:
45 - Removing Lars Weiler (Pylon) from metadata.xml (as per #215644). Assigning
46 - to maintainer-needed.
47 -
48 - 22 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog:
49 - Transition to Manifest2.
50 -
51 - 31 Jan 2007; Marius Mauch <genone@g.o> nqc-2.5.1.ebuild,
52 - nqc-3.1_p4.ebuild:
53 - Replacing einfo with elog
54 -
55 -*nqc-3.1_p4 (18 Jun 2006)
56 -
57 - 18 Jun 2006; Lars Weiler <pylon@g.o> +files/nqc-3.1_p4-amd64.patch,
58 - +files/nqc-3.1_p4-usb.patch, +metadata.xml, +nqc-3.1_p4.ebuild:
59 - Version bump; thanks to all contributors in bug #89257.
60 -
61 - 14 Dec 2005; Maurice van der Pot <griffon26@g.o>
62 - +files/nqc-2.5.1-gcc34-fix.patch, nqc-2.5.1.ebuild:
63 - Fixed compilation with gcc 3.4.4, closing bug #115474. What this package
64 - really needs is an up-to-date ebuild (see bug #89257).
65 -
66 - 05 Jun 2005; Michael Hanselmann <hansmi@g.o> nqc-2.5.1.ebuild:
67 - Stable on ppc.
68 -
69 - 22 Mar 2005; Ciaran McCreesh <ciaranm@g.o> nqc-2.5.1.ebuild:
70 - Fix einfo, bug #70854
71 -
72 - 01 Jul 2004; Jeremy Huddleston <eradicator@g.o> nqc-2.5.1.ebuild:
73 - virtual/glibc -> virtual/libc
74 -
75 - 01 Jan 2004; Luca Barbato <lu_zero@g.o> nqc-2.5.1.ebuild:
76 - Marked ~ppc
77 -
78 -*nqc-2.5.1 (20 Jun 2003)
79 -
80 - 20 Jun 2003; George Shapovalov <george@g.o> Manifest, nqc-2.5.1.ebuild, files/{digest-nqc-2.5.1} :
81 - initial release (#12343)
82 - Not Quite C - C-like compiler for Lego Mindstorms
83 - ebuild submitted by Alexander Holler <aholler@××××××.de>
84
85
86
87 1.5 dev-lang/nqc/nqc-3.1_p4.ebuild
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild?rev=1.5&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild?rev=1.5&content-type=text/plain
91 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild?r1=1.4&r2=1.5
92
93 Index: nqc-3.1_p4.ebuild
94 ===================================================================
95 RCS file: /var/cvsroot/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild,v
96 retrieving revision 1.4
97 retrieving revision 1.5
98 diff -u -r1.4 -r1.5
99 --- nqc-3.1_p4.ebuild 23 Oct 2009 15:48:24 -0000 1.4
100 +++ nqc-3.1_p4.ebuild 30 Dec 2010 18:42:58 -0000 1.5
101 @@ -1,6 +1,6 @@
102 -# Copyright 1999-2009 Gentoo Foundation
103 +# Copyright 1999-2010 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild,v 1.4 2009/10/23 15:48:24 vostorga Exp $
106 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/nqc-3.1_p4.ebuild,v 1.5 2010/12/30 18:42:58 jer Exp $
107
108 inherit eutils
109
110 @@ -12,7 +12,7 @@
111
112 SLOT="0"
113 LICENSE="MPL-1.0"
114 -KEYWORDS="~x86 ~amd64"
115 +KEYWORDS="~amd64 ~ppc ~x86"
116 IUSE="usb"
117
118 DEPEND="usb? ( dev-libs/legousbtower )"
119
120
121
122 1.1 dev-lang/nqc/nqc-3.1_p6.ebuild
123
124 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/nqc-3.1_p6.ebuild?rev=1.1&view=markup
125 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/nqc/nqc-3.1_p6.ebuild?rev=1.1&content-type=text/plain
126
127 Index: nqc-3.1_p6.ebuild
128 ===================================================================
129 # Copyright 1999-2010 Gentoo Foundation
130 # Distributed under the terms of the GNU General Public License v2
131 # $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/nqc-3.1_p6.ebuild,v 1.1 2010/12/30 18:42:58 jer Exp $
132
133 EAPI="2"
134
135 inherit eutils toolchain-funcs
136
137 DESCRIPTION="Not Quite C - C-like compiler for Lego Mindstorms"
138 SRC_URI="http://bricxcc.sourceforge.net/nqc/release/${P/_p/.r}.tgz"
139 HOMEPAGE="http://bricxcc.sourceforge.net/nqc/"
140
141 S="${WORKDIR}/${P/_p/.r}"
142
143 SLOT="0"
144 LICENSE="MPL-1.0"
145 KEYWORDS="~amd64 ~ppc ~x86"
146 IUSE="usb"
147
148 DEPEND="usb? ( dev-libs/legousbtower )"
149 RDEPEND="${DEPEND}"
150
151 src_prepare() {
152 sed -i \
153 -e 's|$(CXX) -o |$(CXX) $(LDFLAGS) -o |g' \
154 -e 's|PREFIX?=/usr/local/|PREFIX?=/usr|' \
155 Makefile || die "sed Makefile"
156 }
157
158 src_configure()
159 {
160 if use usb; then
161 epatch "${FILESDIR}"/${P}-usb.patch
162 fi
163 if use amd64; then
164 epatch "${FILESDIR}"/${P}-amd64.patch
165 fi
166 }
167
168 src_compile() {
169 emake CXX=$(tc-getCXX) LDFLAGS="${LDFLAGS}" || die "emake"
170 }
171
172 src_install() {
173 dobin bin/*
174 mv nqc-man-2.1r1-0.man nqc.1
175 doman nqc.1
176 dodoc history.txt readme.txt scout.txt test.nqc
177 }
178
179 pkg_postinst() {
180 elog "To change the default serial name for nqc (/dev/ttyS0) set"
181 elog "the environment variable RCX_PORT or use the nqc command line"
182 elog "option -S to specify your serial port."
183 if use usb; then
184 elog
185 elog "You have enabled USB support. To use usb on the"
186 elog "command line use the -Susb command line option"
187 else
188 elog
189 elog "You have not enabled usb support and will be unable"
190 elog "to use the usb IR tower. To enable USB use the usb use flag"
191 fi
192 }