File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,18 @@ _VER="$1"
7878 -DBUILD_SHARED_LIBS=OFF \
7979 -DLIBRESSL_APPS=OFF \
8080 -DLIBRESSL_TESTS=OFF \
81- -DCMAKE_INSTALL_PREFIX=" ${PWD} /${_PP} " \
8281 -DCMAKE_C_FLAGS=" ${_CFLAGS_GLOBAL_CMAKE} ${_CFLAGS_GLOBAL} ${_CPPFLAGS_GLOBAL} ${CFLAGS} ${CPPFLAGS} ${_LDFLAGS_GLOBAL} " \
8382 -DCMAKE_ASM_FLAGS=" ${_CFLAGS_GLOBAL_CMAKE} ${_CFLAGS_GLOBAL} ${_CPPFLAGS_GLOBAL} ${CFLAGS} ${CPPFLAGS} ${_LDFLAGS_GLOBAL} "
8483
8584 cmake --build " ${_BLDDIR} "
86- cmake --install " ${_BLDDIR} "
85+ if [ " ${LIBRESSL_VER_} " = ' 4.0.0' ]; then
86+ # FIXME upstream:
87+ # cmake --install "${_BLDDIR}" --prefix "${_PP}"
88+ # ignores --prefix for /etc/ssl config files and fails when writing them.
89+ DESTDIR=" ${_PKGDIR} " cmake --install " ${_BLDDIR} "
90+ else
91+ cmake --install " ${_BLDDIR} "
92+ fi
8793
8894 # Delete .pc files
8995 rm -r -f " ${_PP} " /lib/pkgconfig
You can’t perform that action at this time.
0 commit comments