aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/socat/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index b787ecd55320..eb55cb23c577 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -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