From aae956fe45f834085648869e3ec8a24e1285d659 Mon Sep 17 00:00:00 2001 From: Gavin Zhao Date: Sun, 18 Feb 2024 10:32:08 -0500 Subject: [PATCH] rc.yml: update Haskell macros to adapt to new directory layout Signed-off-by: Gavin Zhao --- ypkg2/rc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ypkg2/rc.yml b/ypkg2/rc.yml index f302fa8..d5c08ae 100644 --- a/ypkg2/rc.yml +++ b/ypkg2/rc.yml @@ -94,7 +94,7 @@ actions: export GHCV=$(ghc --numeric-version) runhaskell Setup configure --prefix=%PREFIX% \ --libdir=%libdir% \ - --libsubdir="\$compiler/\$pkgid" \ + --libsubdir="\$compiler/lib/\$abi/\$pkg-\$version" \ --libexecdir=%libdir%/%PKGNAME% \ --dynlibdir="%libdir%/\$compiler/\$pkgid" \ --datadir=/usr/share \ @@ -115,7 +115,7 @@ actions: - haskell_register: &haskell_register | export GHCV=$(ghc --numeric-version) runhaskell Setup register --gen-pkg-config=$package-$version.conf - install -D -m 00644 $package-$version.conf $installdir%libdir%/ghc-$GHCV/package.conf.d/$package-$version.conf + install -D -m 00644 $package-$version.conf $installdir/%libdir%/ghc-$GHCV/lib/package.conf.d/$package-$version.conf - haskell_check: | runhaskell Setup test # Configures a Cabal project that requires online dependencies, like a