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
This commit is contained in:
Kris Kennaway 1999-12-29 14:18:51 +00:00
parent 1a75f3dd99
commit 4712894e59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55218

View File

@ -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