[packages/ghc-unix-compat] fix build without prof

atler atler at pld-linux.org
Sat Mar 19 19:11:57 CET 2022


commit d7202a5bea568905cf984a2a92517b764f41ef2d
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Mar 19 19:09:42 2022 +0100

    fix build without prof

 ghc-unix-compat.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/ghc-unix-compat.spec b/ghc-unix-compat.spec
index e8993af..df4eb70 100644
--- a/ghc-unix-compat.spec
+++ b/ghc-unix-compat.spec
@@ -114,8 +114,10 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/PosixCompat/*.hi
 %dir %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/PosixCompat/*.dyn_hi
 
+%if %{with prof}
 %files prof
 %defattr(644,root,root,755)
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/libHSunix-compat-%{version}-*_p.a
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/*.p_hi
 %{_libdir}/%{ghcdir}/%{pkgname}-%{version}/System/PosixCompat/*.p_hi
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghc-unix-compat.git/commitdiff/e207f1cc10208ce34e4ab8ed4d9bf544c9634b1a



More information about the pld-cvs-commit mailing list