Merge pull request #14806 from rycee/fix/openxpki

openxpki: fix build
This commit is contained in:
Tuomas Tynkkynen 2016-04-19 00:48:37 +03:00
commit 84a2de0511

View File

@ -50,7 +50,10 @@ buildPerlPackage {
lib libapreq2 libnet podlators threads threadsshared version ];
preConfigure = ''
export OPENSSL_PREFIX=${openssl}
substituteInPlace core/server/Makefile.PL \
--replace "my \$openssl_inc_dir = ''';" "my \$openssl_inc_dir = '${openssl}/include';" \
--replace "my \$openssl_lib_dir = ''';" "my \$openssl_lib_dir = '${openssl.out}/lib';" \
--replace "my \$openssl_binary = ''';" "my \$openssl_binary = '${openssl.bin}/bin/openssl';"
substituteInPlace tools/vergen --replace "#!/usr/bin/perl" "#!${perl}/bin/perl"
cp ${./vergen_revision_state} .vergen_revision_state
cd core/server