Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/tcb/files: tcb-1.0.2-build.patch
Date: Thu, 27 Mar 2008 14:38:59
Message-Id: E1JetFo-0000Pw-5h@stork.gentoo.org
1 flameeyes 08/03/27 14:38:56
2
3 Added: tcb-1.0.2-build.patch
4 Log:
5 Version bump, avoid one chunk of patch by replacing the variables at make commandline instead.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 sys-apps/tcb/files/tcb-1.0.2-build.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/files/tcb-1.0.2-build.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/files/tcb-1.0.2-build.patch?rev=1.1&content-type=text/plain
13
14 Index: tcb-1.0.2-build.patch
15 ===================================================================
16 --- tcb-1.0/libs/Makefile
17 +++ tcb-1.0/libs/Makefile
18 @@ -17,13 +17,13 @@
19 $(CC) $(CFLAGS) $(DBGFLAG) -c $< -o $@
20
21 $(LIBTCB_LONG): libtcb.o $(LIB_MAP)
22 - $(CC) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \
23 + $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \
24 -Wl,--version-script=$(LIB_MAP) $< -lc
25 ln -sf $@ $(LIBTCB)
26 ln -sf $(LIBTCB) libtcb.so
27
28 $(LIBNSS): nss.o $(NSS_MAP) $(LIBTCB_LONG)
29 - $(CC) $(DBGFLAG) -shared -o $@ -Wl,--version-script=$(NSS_MAP) \
30 + $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$@ -Wl,--version-script=$(NSS_MAP) \
31 $< -L. $(LIBNSL) -ltcb
32
33 .c.o:
34 --- tcb-1.0/progs/Makefile
35 +++ tcb-1.0/progs/Makefile
36 @@ -7,13 +7,13 @@
37 all: $(CONVERT) $(UNCONVERT) $(CHKPWD)
38
39 $(CONVERT): $(CONVERT).o
40 - $(CC) -o $@ $<
41 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
42
43 $(UNCONVERT): $(UNCONVERT).o
44 - $(CC) -o $@ $< -L../libs -ltcb
45 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L../libs -ltcb
46
47 $(CHKPWD): $(CHKPWD).o
48 - $(CC) -o $@ $< -lcrypt
49 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lcrypt
50
51 .c.o:
52 $(CC) $(CFLAGS) -c $< -o $@
53
54
55
56 --
57 gentoo-commits@l.g.o mailing list