1 |
aballier 08/10/05 21:33:26 |
2 |
|
3 |
Added: catdoc-0.94.2-flags.patch |
4 |
Log: |
5 |
Respect CFLAGS/LDFLAGS, bug #240127 |
6 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-text/catdoc/files/catdoc-0.94.2-flags.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/files/catdoc-0.94.2-flags.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/catdoc/files/catdoc-0.94.2-flags.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: catdoc-0.94.2-flags.patch |
15 |
=================================================================== |
16 |
Index: catdoc-0.94.2/configure.in |
17 |
=================================================================== |
18 |
--- catdoc-0.94.2.orig/configure.in |
19 |
+++ catdoc-0.94.2/configure.in |
20 |
@@ -100,10 +100,6 @@ AC_C_CONST |
21 |
dnl Checks for library functions. |
22 |
AC_FUNC_SETVBUF_REVERSED |
23 |
|
24 |
-if test "$GCC" = "yes"; then |
25 |
- CFLAGS="-g -O2 -Wall" |
26 |
-fi |
27 |
- |
28 |
AC_DEFINE_UNQUOTED([SOURCE_CHARSET],"$sourcecharset",[Character encoding used by default for 8-bit source files]) |
29 |
AC_DEFINE_UNQUOTED([TARGET_CHARSET],"$targetcharset",[Output character encoding used by default, if impossible to determine encoding from locale]) |
30 |
AC_DEFINE_UNQUOTED([SPEC_EXT],"$specsuffix",[Suffix for files with special symbols map (ones to be replaced regardless of availability in target encoding)]) |
31 |
Index: catdoc-0.94.2/src/Makefile.in |
32 |
=================================================================== |
33 |
--- catdoc-0.94.2.orig/src/Makefile.in |
34 |
+++ catdoc-0.94.2/src/Makefile.in |
35 |
@@ -74,12 +74,12 @@ OBJPPT=catppt.o pptparse.o $(COMMONOBJ) |
36 |
# $(CC) -c $(CFLAGS) $* |
37 |
all: @buildtargets@ |
38 |
catdoc: $(OBJ) |
39 |
- $(CC) -o catdoc $(OBJ) |
40 |
+ $(CC) $(LDFLAGS) -o catdoc $(OBJ) |
41 |
xls2csv: $(OBJXLS) |
42 |
- $(CC) -o xls2csv $(OBJXLS) -lm |
43 |
+ $(CC) $(LDFLAGS) -o xls2csv $(OBJXLS) -lm |
44 |
|
45 |
catppt: $(OBJPPT) |
46 |
- $(CC) -o catppt $(OBJPPT) -lm |
47 |
+ $(CC) $(LDFLAGS) -o catppt $(OBJPPT) -lm |
48 |
|
49 |
install: @installtargets@ |
50 |
install-catdoc:catdoc xls2csv catppt |