From 828cc414326e61485f9c5b9ad1ef334d711b71c0 Mon Sep 17 00:00:00 2001 From: kris Date: Wed, 29 Dec 1999 14:18:51 +0000 Subject: [PATCH] Only make beforeinstall in libcrypto/libssl if they actually exist. I haven't imported these on Freefall yet for the reasons previously explained. Noticed by: asami --- Makefile.inc1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index e886c47ef155..3ae46532356e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -473,10 +473,14 @@ includes: cd ${.CURDIR}/gnu/lib/libgmp; ${MAKE} beforeinstall cd ${.CURDIR}/gnu/usr.bin/cc/cc1plus; ${MAKE} beforeinstall .if exists(${.CURDIR}/secure) && !defined(NOCRYPT) +.if exists(${.CURDIR}/secure/lib/libcrypto) cd ${.CURDIR}/secure/lib/libcrypto; ${MAKE} beforeinstall +.endif cd ${.CURDIR}/secure/lib/libdes; ${MAKE} beforeinstall +.if exists(${.CURDIR}/secure/lib/libssl) cd ${.CURDIR}/secure/lib/libssl; ${MAKE} beforeinstall .endif +.endif .if exists(${.CURDIR}/kerberosIV) && !defined(NOCRYPT) && \ defined(MAKE_KERBEROS4) cd ${.CURDIR}/kerberosIV/lib/libacl; ${MAKE} beforeinstall