Pass the path to perl interpreter to Configure

... so that apps/CA.pl and tools/c_rehash wouldn't get
/usr/local/bin/perl shebang.
This commit is contained in:
Kalev Lember 2012-03-07 01:55:06 +02:00
parent cbfc82b0b4
commit fb61d59550

View File

@ -26,7 +26,7 @@
Name: mingw-openssl
Version: 1.0.0d
Release: 4%{?dist}
Release: 5%{?dist}
Summary: MinGW port of the OpenSSL toolkit
License: OpenSSL
@ -214,6 +214,7 @@ make TABLE PERL=%{__perl}
%build
# NB: 'no-hw' is vital. MinGW cannot build the hardware drivers
# and if you don't have this you'll get an obscure link error.
PERL=%{__perl} \
./Configure \
--prefix=%{mingw32_prefix} \
--openssldir=%{mingw32_sysconfdir}/pki/tls \
@ -360,6 +361,9 @@ mkdir -m700 $RPM_BUILD_ROOT%{mingw32_sysconfdir}/pki/CA/private
%changelog
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.0.0d-5
- Pass the path to perl interpreter to Configure
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 1.0.0d-4
- Renamed the source package to mingw-openssl (#800443)
- Modernize the spec file