Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-crypt/bcwipe/files: bcwipe-1.7_p7-build.patch bcwipe-1.6_p8-qa.patch
Date: Sat, 21 Mar 2009 23:06:15
Message-Id: E1LlAGa-0003Od-9S@stork.gentoo.org
1 arfrever 09/03/21 23:06:12
2
3 Added: bcwipe-1.7_p7-build.patch
4 Removed: bcwipe-1.6_p8-qa.patch
5 Log:
6 Version bump. Respect CFLAGS and LDFLAGS (bug #239967).
7 (Portage version: 13139-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch?rev=1.1&content-type=text/plain
14
15 Index: bcwipe-1.7_p7-build.patch
16 ===================================================================
17 --- Makefile
18 +++ Makefile
19 @@ -48,15 +48,14 @@
20
21 INSTALL = install
22
23 -CFLAGS = -O -DOS_$(OS_NAME) -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror
24 +CFLAGS += -O -DOS_$(OS_NAME) -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror
25
26 #CFLAGS = -O -DOS_`uname -s |tr "-" "_"` -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror
27
28 -LDFLAGS =
29 DEFS =
30
31 TARGETS = bcwipe
32 -BC_OBJ = sha1.o sha1random.o options.o schemes.o
33 +BC_OBJ = sha1.o sha1random.o options.o schemes.o wipe.o
34
35
36 root=/
37 @@ -64,8 +63,8 @@
38
39 all: $(TARGETS)
40
41 -bcwipe: wipe.c $(BC_OBJ)
42 - $(CC) $(CFLAGS) $(DEFS) -o bcwipe wipe.c $(BC_OBJ)
43 +bcwipe: $(BC_OBJ)
44 + $(CC) $(LDFLAGS) -o bcwipe $(BC_OBJ)
45
46 install:
47 ./install.sh $(root)