From 0b49fb07ec3363495868cb5012b4ab74c2e7f2b7 Mon Sep 17 00:00:00 2001
From: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Date: Mon, 15 Jun 2020 03:26:29 +0100
Subject: OpenSSL now built after Perl

After trying a clean build of Maneage in a Docker image (with a minimal
debian:stable-20200607-slim OS), I noticed that the building of OpenSSL is
failing because it doesn't find the proper Perl functionality. To fix it,
with this commit, Perl is set as a prerequisite of OpenSSL and this fixed
the problem.
---
 reproduce/software/make/basic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reproduce/software/make/basic.mk b/reproduce/software/make/basic.mk
index b4745e2..82bc42d 100644
--- a/reproduce/software/make/basic.mk
+++ b/reproduce/software/make/basic.mk
@@ -805,7 +805,7 @@ $(idir)/etc:; mkdir $@
 # Note: cert.pm has to be AFTER the tarball, otherwise the build script
 # will try to unpack cert.pm and crash (it unpacks the first dependency
 # under `tdir').
-$(ibidir)/openssl: $(ibidir)/tar \
+$(ibidir)/openssl: $(ibidir)/perl \
                    $(tdir)/openssl-$(openssl-version).tar.gz \
                    $(tdir)/cert.pem \
                    | $(idir)/etc
-- 
cgit v1.2.1