rpms/moe/F-11 moe-1.0-configure.patch,NONE,1.1 moe.spec,1.3,1.4

Vivek Shah bonii at fedoraproject.org
Sun Apr 19 18:01:08 UTC 2009


Author: bonii

Update of /cvs/pkgs/rpms/moe/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8930

Modified Files:
	moe.spec 
Added Files:
	moe-1.0-configure.patch 
Log Message:
* Sun Apr 19 2009 Debarshi Ray <rishi at fedoraproject.org> 1.0-5
- Fixed configure to respect the environment's CFLAGS and CXXFLAGS settings.


moe-1.0-configure.patch:

--- NEW FILE moe-1.0-configure.patch ---
Binary files moe-1.0.orig/arg_parser.o and moe-1.0/arg_parser.o differ
diff -urNp moe-1.0.orig/config.status moe-1.0/config.status
--- moe-1.0.orig/config.status	1970-01-01 05:30:00.000000000 +0530
+++ moe-1.0/config.status	2009-04-19 12:24:14.000000000 +0530
@@ -0,0 +1,8 @@
+#!/bin/sh
+# This file was generated automatically by configure. Do not edit.
+# Run this file to recreate the current configuration.
+#
+# This script is free software: you have unlimited permission
+# to copy, distribute and modify it.
+
+exec /bin/sh ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --no-create
diff -urNp moe-1.0.orig/configure moe-1.0/configure
--- moe-1.0.orig/configure	2009-04-19 12:15:03.000000000 +0530
+++ moe-1.0/configure	2009-04-19 12:38:31.000000000 +0530
@@ -26,8 +26,8 @@ sysconfdir='$(prefix)/etc'
 CC=
 CXX=
 CPPFLAGS=
-CFLAGS='-Wall -W -O2'
-CXXFLAGS='-Wall -W -O2'
+CFLAGS="-Wall -W -O2 $CFLAGS"
+CXXFLAGS="-Wall -W -O2 $CXXFLAGS"
 LDFLAGS=-lncurses
 
 # Loop over all args


Index: moe.spec
===================================================================
RCS file: /cvs/pkgs/rpms/moe/F-11/moe.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- moe.spec	1 Mar 2009 17:27:05 -0000	1.3
+++ moe.spec	19 Apr 2009 18:00:37 -0000	1.4
@@ -1,14 +1,14 @@
 Name:		moe
 Version:	1.0
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	A powerful clean text editor
 
 Group:		Applications/Editors
 License:	GPLv3+
 URL:		http://www.gnu.org/software/moe/moe.html
 Source0:	http://ftp.gnu.org/gnu/moe/%{name}-%{version}.tar.bz2
-Patch0:         moe-1.0-includes.patch
-
+Patch0:		moe-1.0-configure.patch
+Patch1:		moe-1.0-includes.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	ncurses-devel
@@ -25,7 +25,8 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .includes
+%patch0 -p1 -b .configure
+%patch1 -p1 -b .includes
 
 
 %build
@@ -61,6 +62,9 @@
 %{_mandir}/man1/%{name}*
 
 %changelog
+* Sun Apr 19 2009 Debarshi Ray <rishi at fedoraproject.org> 1.0-5
+- Fixed configure to respect the environment's CFLAGS and CXXFLAGS settings.
+
 * Sun Mar 01 2009 Caolán McNamara - 1.0-4
 - include stdio.h for snprintf
 




More information about the scm-commits mailing list