1 |
angelos 08/12/30 17:57:42 |
2 |
|
3 |
Modified: ChangeLog chntpw-080526.ebuild |
4 |
Log: |
5 |
QA: Respect CC (bug 243538) |
6 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.15 app-crypt/chntpw/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/chntpw/ChangeLog?rev=1.15&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/chntpw/ChangeLog?rev=1.15&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/chntpw/ChangeLog?r1=1.14&r2=1.15 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v |
18 |
retrieving revision 1.14 |
19 |
retrieving revision 1.15 |
20 |
diff -u -r1.14 -r1.15 |
21 |
--- ChangeLog 29 Jun 2008 03:17:18 -0000 1.14 |
22 |
+++ ChangeLog 30 Dec 2008 17:57:42 -0000 1.15 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for app-crypt/chntpw |
25 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v 1.14 2008/06/29 03:17:18 darkside Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/ChangeLog,v 1.15 2008/12/30 17:57:42 angelos Exp $ |
28 |
+ |
29 |
+ 30 Dec 2008; Christoph Mende <angelos@g.o> chntpw-080526.ebuild: |
30 |
+ QA: Respect CC (bug 243538) |
31 |
|
32 |
*chntpw-080526 (29 Jun 2008) |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.3 app-crypt/chntpw/chntpw-080526.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/chntpw/chntpw-080526.ebuild?rev=1.3&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/chntpw/chntpw-080526.ebuild?rev=1.3&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/chntpw/chntpw-080526.ebuild?r1=1.2&r2=1.3 |
42 |
|
43 |
Index: chntpw-080526.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/app-crypt/chntpw/chntpw-080526.ebuild,v |
46 |
retrieving revision 1.2 |
47 |
retrieving revision 1.3 |
48 |
diff -u -r1.2 -r1.3 |
49 |
--- chntpw-080526.ebuild 30 Jun 2008 23:10:12 -0000 1.2 |
50 |
+++ chntpw-080526.ebuild 30 Dec 2008 17:57:42 -0000 1.3 |
51 |
@@ -1,6 +1,8 @@ |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/chntpw-080526.ebuild,v 1.2 2008/06/30 23:10:12 mr_bones_ Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/chntpw-080526.ebuild,v 1.3 2008/12/30 17:57:42 angelos Exp $ |
56 |
+ |
57 |
+inherit toolchain-funcs |
58 |
|
59 |
DESCRIPTION="Offline Windows NT Password & Registry Editor" |
60 |
HOMEPAGE="http://home.eunet.no/~pnordahl/ntpasswd/" |
61 |
@@ -14,6 +16,14 @@ |
62 |
RDEPEND="dev-libs/openssl" |
63 |
DEPEND="app-arch/unzip" |
64 |
|
65 |
+src_unpack() { |
66 |
+ unpack ${A} |
67 |
+ cd "${S}" |
68 |
+ |
69 |
+ sed -i -e "/^CC/s/gcc/$(tc-getCC)/" \ |
70 |
+ Makefile || die "sed failed" |
71 |
+} |
72 |
+ |
73 |
src_compile() { |
74 |
#Makefile is hardcoded, override the defaults with the user's settings. |
75 |
emake LIBS="-lcrypto" CFLAGS="${CFLAGS}" || die "emake failed" |
76 |
@@ -23,5 +33,5 @@ |
77 |
dobin chntpw |
78 |
use static && dobin chntpw.static |
79 |
dobin cpnt |
80 |
- dodoc *.txt |
81 |
+ dodoc HISTORY.txt README.txt regedit.txt WinReg.txt |
82 |
} |