diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-02-02 05:00:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-02-02 05:00:27 +0000 |
commit | 5d749000fffef615ad82754e66c3446f27def535 (patch) | |
tree | 25e7f88dbc30a3b7b3c7c8b56d5b79ab5ab75330 /sys-apps/ed/files | |
parent | version bump, bug 256386. remove old version (diff) | |
download | historical-5d749000fffef615ad82754e66c3446f27def535.tar.gz historical-5d749000fffef615ad82754e66c3446f27def535.tar.bz2 historical-5d749000fffef615ad82754e66c3446f27def535.zip |
Version bump.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/ed/files')
-rw-r--r-- | sys-apps/ed/files/ed-1.2-build.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/ed/files/ed-1.2-build.patch b/sys-apps/ed/files/ed-1.2-build.patch new file mode 100644 index 000000000000..b13702e17175 --- /dev/null +++ b/sys-apps/ed/files/ed-1.2-build.patch @@ -0,0 +1,38 @@ +http://lists.gnu.org/archive/html/bug-ed/2008-12/msg00001.html + +2007-04-16 Mike Frysinger <vapier@gentoo.org> + + * Do not set CC/CXX/CPPFLAGS/LDFLAGS to "" so that user can + override if they so choose. + * Only set CFLAGS/CXXFLAGS if user did not specify any. + +--- ed-1.0/configure ++++ ed-1.0/configure +@@ -24,12 +37,6 @@ + mandir='$(datadir)/man' + sysconfdir='$(prefix)/etc' + program_prefix= +-CC= +-CXX= +-CPPFLAGS= +-CFLAGS='-Wall -W -O2' +-CXXFLAGS='-Wall -W -O2' +-LDFLAGS= + + # Loop over all args + while [ x"$1" != x ] ; do +@@ -106,6 +113,14 @@ + esac + done + ++# Defaults if the user did not select any ++if [ x"${CFLAGS+set}" != xset ] ; then ++ CFLAGS='-Wall -W -O2' ++fi ++if [ x"${CXXFLAGS+set}" != xset ] ; then ++ CXXFLAGS='-Wall -W -O2' ++fi ++ + # Find the source files, if location was not specified. + srcdirtext= + if [ x"${srcdir}" = x ] ; then |