Unset PKG_CONFIG_PATH because /usr/lib/rpm/macros sets it (Erik van

Pienbroek).
This commit is contained in:
Richard W.M. Jones 2009-02-01 23:15:40 +00:00
parent 853dfe4660
commit 2e732f340c
2 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: mingw32-filesystem
Version: 45
Version: 46
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
@ -153,6 +153,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sun Feb 1 2009 Richard W.M. Jones <rjones@redhat.com> - 46-1
- Unset PKG_CONFIG_PATH because /usr/lib/rpm/macros sets it (Erik van
Pienbroek).
* Wed Jan 28 2009 Richard W.M. Jones <rjones@redhat.com> - 45-1
- Use PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH so that native pkgconfig
is never searched.

View File

@ -55,6 +55,7 @@
%_mingw32_env HOST_CC=gcc; export HOST_CC; \
PKG_CONFIG_LIBDIR="%{_mingw32_libdir}/pkgconfig"; export PKG_CONFIG_LIBDIR; \
unset PKG_CONFIG_PATH; \
_PREFIX="%{_bindir}/%{_mingw32_target}-"; \
for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-" "A-ZX_"`; \