]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Analysis workflow, fixup installtop.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 24 Jun 2021 16:59:14 +0000 (18:59 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 24 Jun 2021 16:59:14 +0000 (18:59 +0200)
.github/workflows/analysis_ports.yml

index c409245a426fac2b796c507322350f04857f7cd0..6a75959fe5788f49058a3977ccd5e1c0f994c61b 100644 (file)
@@ -269,13 +269,13 @@ jobs:
           # remove pod::Usage because we do not need -help or -man output
           # from the Configure script
           sed -e 's/use Pod::Usage//' < Configure > Configure.fix
-          ./Configure.fix no-shared no-asm -DOPENSSL_NO_CAPIENG mingw64 --prefix="/$prepath/openssl"
+          ./Configure.fix no-shared no-asm -DOPENSSL_NO_CAPIENG mingw64 --prefix="$prepath/openssl"
           # make the libs only, build faster
           #make
           make build_libs
-          grep INSTALLTOP= Makefile
-          grep DESTDIR= Makefile
-          grep '\d\a' Makefile
+          mv Makefile Makefile.orig
+          # fixup \\ in the installtop to /.
+          sed -e 's?^INSTALLTOP=.*$?INSTALLTOP='"$prepath"'/openssl?' < Makefile.orig > Makefile
           # install the includes and libs only, build faster
           #make install_sw
           make install_dev