Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/anyterm/files: anyterm-1.1.22-respect-flags.patch
Date: Sun, 01 Jun 2008 09:29:10
Message-Id: E1K2js8-0007wF-Pg@stork.gentoo.org
1 hollow 08/06/01 09:29:04
2
3 Added: anyterm-1.1.22-respect-flags.patch
4 Log:
5 fix #214377
6 (Portage version: 2.1.5.2)
7
8 Revision Changes Path
9 1.1 www-apache/anyterm/files/anyterm-1.1.22-respect-flags.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm-1.1.22-respect-flags.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/anyterm/files/anyterm-1.1.22-respect-flags.patch?rev=1.1&content-type=text/plain
13
14 Index: anyterm-1.1.22-respect-flags.patch
15 ===================================================================
16 --- apachemod/Makefile
17 +++ apachemod/Makefile
18 @@ -85,7 +85,7 @@
19 -DUSE_SHMEM \
20 -I../boost_shmem
21
22 -COMPILE_FLAGS=$(CPP_FLAGS) $(shell $(APR_CONFIG) --cflags) -Wall -O0 -g
23 +COMPILE_FLAGS=$(CPP_FLAGS) $(shell $(APR_CONFIG) --cflags) -Wall
24
25 C_COMPILE_FLAGS=$(COMPILE_FLAGS) -std=gnu99
26
27 @@ -108,23 +108,23 @@
28 OBJS=$(addsuffix .lo,$(basename $(C_SRCS) $(CC_SRCS)))
29
30 %.lo: %.cc
31 - $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CC_COMPILE_FLAGS) -o $@ -c $<
32 + $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(CC_COMPILE_FLAGS) -o $@ -c $<
33
34 %.lo: %.c
35 - $(LIBTOOL) --mode=compile $(CC) $(C_COMPILE_FLAGS) -o $@ -c $<
36 + $(LIBTOOL) --mode=compile $(CC) $(CPPFLAGS) $(CFLAGS) $(C_COMPILE_FLAGS) -o $@ -c $<
37
38
39 compile: $(OBJS) $(LIBPBE_LIB)
40 - $(APXS) -c -o anyterm.la $(OBJS) $(LINK_FLAGS)
41 + $(APXS) $(LDFLAGS) -c -o anyterm.la $(OBJS) $(LINK_FLAGS)
42
43 install: FORCE
44 $(APXS) -n anyterm -i anyterm.la
45
46 %.d: %.cc
47 - $(CXX) -MM -MG -MT $@ -MT $(<:%.cc=%.lo) $(CPP_FLAGS) -o $@ $<
48 + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MM -MG -MT $@ -MT $(<:%.cc=%.lo) $(CPP_FLAGS) -o $@ $<
49
50 %.d: %.c
51 - $(CC) -MM -MG -MT $@ -MT $(<:%.c=%.lo) $(CPP_FLAGS) -o $@ $<
52 + $(CC) $(CPPFLAGS) $(CFLAGS) -MM -MG -MT $@ -MT $(<:%.c=%.lo) $(CPP_FLAGS) -o $@ $<
53
54 DEPENDS=$(addsuffix .d,$(basename $(OBJS)))
55
56 --- libpbe/build/Makefile
57 +++ libpbe/build/Makefile
58 @@ -53,7 +53,7 @@
59
60 WARN_FLAGS=-W -Wall
61
62 -OPTIMISE_FLAGS=-O
63 +OPTIMISE_FLAGS=
64
65 DEBUG_FLAGS=
66
67 @@ -71,10 +71,10 @@
68 $(AR) ruv $(LIBRARY) $(OBJS)
69
70 %.o: %.cc
71 - $(CXX) $(COMPILE_FLAGS) -c $<
72 + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(COMPILE_FLAGS) -c $<
73
74 %.d: %.cc
75 - $(CXX) -pthread -MM -MT $@ -MT $(notdir $(<:%.cc=%.o)) $(INC_FLAGS) -o $@ $<
76 + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -pthread -MM -MT $@ -MT $(notdir $(<:%.cc=%.o)) $(INC_FLAGS) -o $@ $<
77
78 all: $(EXECUTABLE)
79
80
81
82
83 --
84 gentoo-commits@l.g.o mailing list