Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/libnss-mysql/files: libnss-mysql-1.5_p20060915-no-automagic-debug.diff
Date: Wed, 08 Sep 2010 23:13:47
Message-Id: 20100908231340.6BFA42003C@flycatcher.gentoo.org
1 robbat2 10/09/08 23:13:40
2
3 Added: libnss-mysql-1.5_p20060915-no-automagic-debug.diff
4 Log:
5 Bug #335772: Disable always-enabled DEBUG option (my previous commit failed).
6
7 (Portage version: 2.2_rc75/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/libnss-mysql/files/libnss-mysql-1.5_p20060915-no-automagic-debug.diff?rev=1.1&content-type=text/plain
14
15 Index: libnss-mysql-1.5_p20060915-no-automagic-debug.diff
16 ===================================================================
17 diff -NuarwPbB libnss-mysql.orig/configure.in libnss-mysql/configure.in
18 --- libnss-mysql.orig/configure.in 2005-09-04 03:34:00.000000000 +0000
19 +++ libnss-mysql/configure.in 2010-09-08 18:12:24.577317098 +0000
20 @@ -38,7 +38,9 @@
21 AC_ARG_WITH(mysql,
22 [ --with-mysql=DIR Location of your MySQL installation])
23 AC_ARG_ENABLE(debug,
24 - [ --enable-debug Enable debug (see DEBUGGING)],
25 + [ --enable-debug Enable debug (see DEBUGGING)])
26 +
27 +AS_IF([test "x$enable_debug" = "xyes"],
28 [AC_DEFINE([DEBUG], 1, [Enable debug])])
29
30 case "$target_os" in