mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
Make sure the binaries are linked against the port OpenSSL libraries when
and only when WITH_OPENSSL_PORT is defined. PR: 180395 (based on) Submitted by: "r4721@tormail.org" <r4721@tormail.org>
This commit is contained in:
parent
d1e3b2cc22
commit
5b8e439847
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323029
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= socat
|
||||
PORTVERSION= 1.7.2.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.dest-unreach.org/socat/download/ \
|
||||
CRITICAL
|
||||
@ -28,6 +29,11 @@ OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_OPENSSL_PORT)
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.endif
|
||||
|
||||
.if(${OSVERSION} >= 1000024)
|
||||
CCISCLANG!= ${CC} --version | ${HEAD} -1 | ${GREP} 'clang'
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user