Fixed Build in 4.2
Add correct Version of OPENSSL in dependencies if older than 4.3 (bsd.ports.mk) is still not sufficent.
This commit is contained in:
parent
35b7c3b1de
commit
b46611d8cf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56167
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user