rpms/mingw32-filesystem/devel mingw32-filesystem.spec, 1.10, 1.11 mingw32-macros.mingw32, 1.6, 1.7
Richard W.M. Jones
rjones at fedoraproject.org
Sat Jan 24 18:12:14 UTC 2009
- Previous message: rpms/kdesdk/F-10 .cvsignore, 1.51, 1.52 kdesdk.spec, 1.123, 1.124 sources, 1.54, 1.55
- Next message: rpms/jpoker/devel .cvsignore, 1.4, 1.5 jpoker.spec, 1.3, 1.4 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rjones
Update of /cvs/pkgs/rpms/mingw32-filesystem/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9161
Modified Files:
mingw32-filesystem.spec mingw32-macros.mingw32
Log Message:
- Don't claim C++ compiler exists if it's not installed, as this
breaks autoconf and (in particular) libtool.
Index: mingw32-filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-filesystem.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- mingw32-filesystem.spec 14 Jan 2009 10:20:03 -0000 1.10
+++ mingw32-filesystem.spec 24 Jan 2009 18:11:43 -0000 1.11
@@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: mingw32-filesystem
-Version: 42
-Release: 1%{?dist}
+Version: 43
+Release: 6%{?dist}
Summary: MinGW base filesystem and environment
Group: Development/Libraries
@@ -145,6 +145,10 @@
%changelog
+* Sat Jan 24 2009 Richard W.M. Jones <rjones at redhat.com> - 43-6
+- Don't claim C++ compiler exists if it's not installed, as this
+ breaks autoconf and (in particular) libtool.
+
* Wed Jan 14 2009 Richard W.M. Jones <rjones at redhat.com> - 42-1
- Add pseudo-provides secur32.dll
Index: mingw32-macros.mingw32
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-filesystem/devel/mingw32-macros.mingw32,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- mingw32-macros.mingw32 18 Dec 2008 10:53:30 -0000 1.6
+++ mingw32-macros.mingw32 24 Jan 2009 18:11:43 -0000 1.7
@@ -55,16 +55,22 @@
%_mingw32_env HOST_CC=gcc; export HOST_CC; \
PKG_CONFIG_PATH="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_PATH; \
- CC="${MINGW32_CC:-%_mingw32_cc}"; export CC; \
- CXX="${MINGW32_CXX:-%_mingw32_cxx}"; export CXX; \
- CFLAGS="${MINGW32_CFLAGS:-%_mingw32_cflags}"; export CFLAGS; \
- CXXFLAGS="${MINGW32_CXXFLAGS:-%_mingw32_cflags}"; export CXXFLAGS; \
_PREFIX="%{_bindir}/%{_mingw32_target}-"; \
- for i in `ls ${_PREFIX}*|egrep -v "gcc-"`; do \
+ for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-" "A-ZX_"`; \
declare -x $x="$i" ; export $x; \
done; \
unset _PREFIX; \
+ CC="${MINGW32_CC:-%_mingw32_cc}"; export CC; \
+ CFLAGS="${MINGW32_CFLAGS:-%_mingw32_cflags}"; export CFLAGS; \
+ if [ -x "%{_bindir}/%{_mingw32_cxx}" ]; then \
+ CXX="${MINGW32_CXX:-%_mingw32_cxx}"; export CXX; \
+ CXXFLAGS="${MINGW32_CXXFLAGS:-%_mingw32_cflags}"; export CXXFLAGS; \
+ else \
+ CXX=; export CXX; \
+ ac_cv_prog_CXX=no; export ac_cv_prog_CXX; \
+ CXXFLAGS=; export CXXFLAGS; \
+ fi; \
for i in `ls %{_mingw32_bindir}/*|grep -- "-config\$"` ; do \
x=`basename $i|tr "a-z+-" "A-ZX_"`; \
declare -x $x="$i" ; export $x; \
- Previous message: rpms/kdesdk/F-10 .cvsignore, 1.51, 1.52 kdesdk.spec, 1.123, 1.124 sources, 1.54, 1.55
- Next message: rpms/jpoker/devel .cvsignore, 1.4, 1.5 jpoker.spec, 1.3, 1.4 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list