From 5342d0854f4686c3dd72fffe5970ee48e6300a0d Mon Sep 17 00:00:00 2001 From: dinoex Date: Fri, 15 Mar 2002 19:39:21 +0000 Subject: Fixed Build in 4.2 Add correct Version of OPENSSL in dependencies if older than 4.3 (bsd.ports.mk) is still not sufficent. --- security/hpn-ssh/Makefile | 14 +++++++++++++- security/openssh-portable/Makefile | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) (limited to 'security') diff --git a/security/hpn-ssh/Makefile b/security/hpn-ssh/Makefile index 940730c7..cfe8163 100644 --- a/security/hpn-ssh/Makefile +++ b/security/hpn-ssh/Makefile @@ -77,4 +77,16 @@ pre-configure: post-install: @${CAT} ${PKGMESSAGE} -.include +.include + +.if ${OSVERSION} < 430000 +OPENSSLBASE= /usr/local +OPENSSLDIR= ${OPENSSLBASE}/openssl +LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl +OPENSSLLIB= ${OPENSSLBASE}/lib +OPENSSLINC= ${OPENSSLBASE}/include +MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \ + OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR} +.endif + +.include diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 940730c7..cfe8163 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -77,4 +77,16 @@ pre-configure: post-install: @${CAT} ${PKGMESSAGE} -.include +.include + +.if ${OSVERSION} < 430000 +OPENSSLBASE= /usr/local +OPENSSLDIR= ${OPENSSLBASE}/openssl +LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl +OPENSSLLIB= ${OPENSSLBASE}/lib +OPENSSLINC= ${OPENSSLBASE}/include +MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \ + OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR} +.endif + +.include -- cgit v1.1