Date: Mon, 15 Jul 2013 12:56:17 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323029 - head/net/socat Message-ID: <201307151256.r6FCuHA1097114@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@tormail.org" <r4721@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307151256.r6FCuHA1097114>