svn commit: r323029 - head/net/socat
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Jul 15 12:56:18 UTC 2013
Author: ehaupt
Date: Mon Jul 15 12:56:17 2013
New Revision: 323029
URL: http://svnweb.freebsd.org/changeset/ports/323029
Log:
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 at tormail.org" <r4721 at tormail.org>
Modified:
head/net/socat/Makefile
Modified: head/net/socat/Makefile
==============================================================================
--- head/net/socat/Makefile Mon Jul 15 09:55:03 2013 (r323028)
+++ head/net/socat/Makefile Mon Jul 15 12:56:17 2013 (r323029)
@@ -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
More information about the svn-ports-head
mailing list