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