From 3cd93c0354ba6a5a7ffe58ae46f4f029ac3c4267 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 14 Nov 2023 06:51:05 +0000 Subject: automatic import of ghc-bootstrap-binary --- ghc-bootstrap-binary.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ghc-bootstrap-binary.spec b/ghc-bootstrap-binary.spec index 50fb02a..cfc627d 100644 --- a/ghc-bootstrap-binary.spec +++ b/ghc-bootstrap-binary.spec @@ -69,16 +69,14 @@ cp %{SOURCE4} . %define sysname unknown %endif +tar Jxf ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux.tar.xz tar xf alex-%{alex_ver}.tar.gz tar xf happy-%{happy_ver}.tar.gz -tar Jxf ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux.tar.xz %build -cd ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux %install -cd ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux - +pushd ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux ./configure --prefix=/opt mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d echo "/opt/lib/ghc-%{ghc_ver}/lib/%{arch}-linux-ghc-%{ghc_ver}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/ghc.conf @@ -93,6 +91,7 @@ for i in *.conf; do mv $i.copy $i done ) +popd cd .. export PATH=/opt/bin:$PATH -- cgit v1.2.3