File project.diff of Package mingw32-pcre
--- mingw32-pcre.spec.orig
+++ mingw32-pcre.spec
@@ -24,6 +24,7 @@ License: BSD-3-Clause and Other u
Group: Development/Libraries/C and C++
Url: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.gz
+Patch1000: pcre-8.39-wix.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
@@ -38,6 +39,8 @@ BuildRoot: %{_tmppath}/%{name}-%{ve
%_mingw32_package_header_debug
BuildArch: noarch
+BuildRequires: wixwine
+
%description
The PCRE library is a set of functions that implement regular
expression pattern matching using the same syntax and semantics
@@ -118,8 +121,10 @@ as Perl 5.
%prep
%setup -q -n pcre-%{version}
+%patch1000 -p1
%build
+autoreconf -fi
%{_mingw32_configure} \
--enable-shared \
--disable-static \
@@ -166,6 +171,7 @@ make DESTDIR=%{buildroot} install %{?_sm
%{_mingw32_libdir}/pkgconfig/libpcrecpp.pc
%{_mingw32_libdir}/pkgconfig/libpcreposix.pc
%{_mingw32_mandir}/man3/*.3*
+%{_mingw32_datadir}/wixlib/libpcre.wixlib
%files doc
%defattr(-,root,root)