diff --git a/srcpkgs/crystal-bin/template b/srcpkgs/crystal-bin/template index 34cbe02c22..c3295b6f39 100644 --- a/srcpkgs/crystal-bin/template +++ b/srcpkgs/crystal-bin/template @@ -25,6 +25,11 @@ do_extract() { tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${version}-${_binary_revision}-linux-${XBPS_TARGET_MACHINE}.tar.gz --strip-components=1 -C ${wrksrc} } +post_extract() { + sed -i 's/OPENSSL_102 = .*/OPENSSL_102 = false # LibreSSL currently does not support APIs above 1.0.1/' ${wrksrc}/src/openssl/lib_{ssl,crypto}.cr + sed -i 's/OPENSSL_110 = .*/OPENSSL_110 = false # LibreSSL currently does not support APIs above 1.0.1/' ${wrksrc}/src/openssl/lib_{ssl,crypto}.cr +} + do_install() { vmkdir /usr/bin vmkdir /usr/lib/crystal