disable ld.so.conf.d/ghc.conf
This commit is contained in:
parent
c315c79429
commit
feb7f7069e
9
ghc.spec
9
ghc.spec
@ -576,8 +576,8 @@ cd _build/bindist/ghc-%{version}-*
|
|||||||
./configure --prefix=%{buildroot}%{ghclibdir} --bindir=%{buildroot}%{_bindir} --libdir=%{buildroot}%{_libdir} --mandir=%{buildroot}%{_mandir} --docdir=%{buildroot}%{_docdir}/%{name}
|
./configure --prefix=%{buildroot}%{ghclibdir} --bindir=%{buildroot}%{_bindir} --libdir=%{buildroot}%{_libdir} --mandir=%{buildroot}%{_mandir} --docdir=%{buildroot}%{_docdir}/%{name}
|
||||||
make install
|
make install
|
||||||
)
|
)
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
%dnl mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||||
echo "%{ghclibplatform}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
%dnl echo "%{ghclibplatform}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
%else
|
%else
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
%if %{defined _ghcdynlibdir}
|
%if %{defined _ghcdynlibdir}
|
||||||
@ -642,6 +642,10 @@ fi\
|
|||||||
%merge_filelist rts base
|
%merge_filelist rts base
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with hadrian}
|
||||||
|
%dnl echo "%{_sysconfdir}/ld.so.conf.d/%{name}.conf" >> %{name}-base.files
|
||||||
|
%endif
|
||||||
|
|
||||||
# add rts libs
|
# add rts libs
|
||||||
%if %{with hadrian}
|
%if %{with hadrian}
|
||||||
for i in %{buildroot}%{ghclibplatform}/libHSrts*ghc%{ghc_version}.so; do
|
for i in %{buildroot}%{ghclibplatform}/libHSrts*ghc%{ghc_version}.so; do
|
||||||
@ -649,7 +653,6 @@ if [ "$(basename $i)" != "libHSrts-%{rts_ver}-ghc%{ghc_version}.so" ]; then
|
|||||||
echo $i >> %{name}-base.files
|
echo $i >> %{name}-base.files
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo "%{_sysconfdir}/ld.so.conf.d/%{name}.conf" >> %{name}-base.files
|
|
||||||
%else
|
%else
|
||||||
%if %{defined _ghcdynlibdir}
|
%if %{defined _ghcdynlibdir}
|
||||||
echo "%{ghclibdir}/rts" >> %{name}-base-devel.files
|
echo "%{ghclibdir}/rts" >> %{name}-base-devel.files
|
||||||
|
Loading…
Reference in New Issue
Block a user