1 |
pinkbyte 13/01/31 13:09:01 |
2 |
|
3 |
Added: libmail-0.3-respect-cflags.patch |
4 |
Log: |
5 |
Revision bump: port to autotools-utils eclass, reorganize CFLAGS sed into patch(fix bug #454380), add USE flags for debug and static libs building(bug #454558) |
6 |
|
7 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-libs/libmail/files/libmail-0.3-respect-cflags.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmail/files/libmail-0.3-respect-cflags.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: libmail-0.3-respect-cflags.patch |
16 |
=================================================================== |
17 |
--- configure.ac.orig 2013-01-31 16:18:06.537834009 +0400 |
18 |
+++ configure.ac 2013-01-31 16:19:00.138835711 +0400 |
19 |
@@ -12,7 +12,7 @@ |
20 |
AC_PROG_MAKE_SET |
21 |
AC_PROG_LIBTOOL |
22 |
|
23 |
-CFLAGS="-D_GNU_SOURCE -Wall -Wunused -Wstrict-prototypes" |
24 |
+CFLAGS="-D_GNU_SOURCE -Wall -Wunused -Wstrict-prototypes ${CFLAGS}" |
25 |
|
26 |
use_sasl=false |
27 |
use_apop=false |
28 |
@@ -99,7 +99,6 @@ |
29 |
;; |
30 |
yes) |
31 |
AC_DEFINE(NDEBUG, [1], [Use debug functionality]) |
32 |
- CFLAGS="$CFLAGS -g" |
33 |
optimize="no" |
34 |
;; |
35 |
*) |
36 |
@@ -119,7 +118,6 @@ |
37 |
;; |
38 |
yes) |
39 |
AC_DEFINE(NDEBUG, [1], [Use debug functionality]) |
40 |
- CFLAGS="$CFLAGS -pg -g" |
41 |
optimize="yes" |
42 |
;; |
43 |
*) |
44 |
@@ -127,9 +125,6 @@ |
45 |
;; |
46 |
esac |
47 |
]) |
48 |
-if test $optimize = "yes"; then |
49 |
- CFLAGS="$CFLAGS -O2" |
50 |
-fi |
51 |
AM_CONDITIONAL([LIBMAIL_USE_SASL], [test x$use_sasl = xtrue]) |
52 |
AM_CONDITIONAL([LIBMAIL_USE_APOP], [test x$use_apop = xtrue]) |
53 |
AM_CONDITIONAL([LIBMAIL_USE_TLS], [test x$use_tls = xtrue]) |