diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-03-16 03:39:21 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-03-16 03:39:21 +0800 |
commit | 5342d0854f4686c3dd72fffe5970ee48e6300a0d (patch) | |
tree | d2e0c84ab3ed53caf975521dfdabcf2a02f43cda /security/openssh-portable | |
parent | 886f82dfc526c800c182d4281727fcd309c2a34f (diff) | |
download | freebsd-ports-graphics-5342d0854f4686c3dd72fffe5970ee48e6300a0d.tar.gz freebsd-ports-graphics-5342d0854f4686c3dd72fffe5970ee48e6300a0d.tar.zst freebsd-ports-graphics-5342d0854f4686c3dd72fffe5970ee48e6300a0d.zip |
Fixed Build in 4.2
Add correct Version of OPENSSL in dependencies if older than 4.3
(bsd.ports.mk) is still not sufficent.
Diffstat (limited to 'security/openssh-portable')
-rw-r--r-- | security/openssh-portable/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 940730c77a4..cfe8163d766 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -77,4 +77,16 @@ pre-configure: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.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 <bsd.port.post.mk> |