Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/ed/files: ed-1.5-build.patch
Date: Mon, 06 Sep 2010 20:33:35
Message-Id: 20100906203332.0C18720054@flycatcher.gentoo.org
1 vapier 10/09/06 20:33:31
2
3 Added: ed-1.5-build.patch
4 Log:
5 Version bump.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-apps/ed/files/ed-1.5-build.patch
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ed/files/ed-1.5-build.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/ed/files/ed-1.5-build.patch?rev=1.1&content-type=text/plain
13
14 Index: ed-1.5-build.patch
15 ===================================================================
16 http://lists.gnu.org/archive/html/bug-ed/2008-12/msg00001.html
17
18 2007-04-16 Mike Frysinger <vapier@g.o>
19
20 * Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can
21 override if they so choose.
22 * Only set CFLAGS/CXXFLAGS if user did not specify any.
23
24 --- ed-1.0/configure
25 +++ ed-1.0/configure
26 @@ -26,10 +26,6 @@
27 mandir='$(datadir)/man'
28 sysconfdir='$(prefix)/etc'
29 program_prefix=
30 -CC=
31 -CPPFLAGS=
32 -CFLAGS='-Wall -W -O2'
33 -LDFLAGS=
34
35 # Loop over all args
36 while [ -n "$1" ] ; do
37 @@ -105,6 +101,10 @@
38 esac
39 done
40
41 +# Defaults if the user did not select any
42 +if [ x"${CFLAGS+set}" != xset ] ; then
43 + CFLAGS='-Wall -W -O2'
44 +fi
45 # Find the source files, if location was not specified.
46 srcdirtext=
47 if [ -z "${srcdir}" ] ; then