From owner-svn-ports-all@freebsd.org Sat Sep 10 21:55:29 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E9ECBD5719; Sat, 10 Sep 2016 21:55:29 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 517161375; Sat, 10 Sep 2016 21:55:29 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8ALtSpN040919; Sat, 10 Sep 2016 21:55:28 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8ALtSAJ040918; Sat, 10 Sep 2016 21:55:28 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609102155.u8ALtSAJ040918@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 10 Sep 2016 21:55:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421748 - head/net-im/imspector X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2016 21:55:29 -0000 Author: marino Date: Sat Sep 10 21:55:28 2016 New Revision: 421748 URL: https://svnweb.freebsd.org/changeset/ports/421748 Log: net-im/imspector: configure SSL properly and honor LDFLAGS Approved by: SSL blanket Modified: head/net-im/imspector/Makefile Modified: head/net-im/imspector/Makefile ============================================================================== --- head/net-im/imspector/Makefile Sat Sep 10 21:50:12 2016 (r421747) +++ head/net-im/imspector/Makefile Sat Sep 10 21:55:28 2016 (r421748) @@ -13,15 +13,15 @@ COMMENT= IM transparent proxy with monit LICENSE= GPLv2 CFLAGS+= -fPIC -I ${LOCALBASE}/include -DHAVE_SSL -USES= iconv gmake -USE_OPENSSL= YES +USES= gmake iconv ssl USE_LDCONFIG= ${LOCALBASE}/lib/imspector CONFIG_FILES= imspector.conf badwords.txt acl.txt USE_RC_SUBR= ${PORTNAME} -MAKE_ENV+= ETCDIR=${ETCDIR} +MAKE_ENV+= ETCDIR=${ETCDIR} \ + SSL_DIR=${OPENSSLBASE} OPTIONS_DEFINE= IPFW PLUGINS OPTIONS_DEFAULT=IPFW @@ -46,6 +46,7 @@ post-patch: @${REINPLACE_CMD} -e 's,= SSLv23_method(),= (SSL_METHOD *) SSLv23_method(),g' \ ${WRKSRC}/sslstate.cpp @${REINPLACE_CMD} -e 's,%%ICONV_LIB%%,${ICONV_LIB},' \ + -e 's,\(LIBS = -lcrypto\),#\1,g' \ ${WRKSRC}/Makefile .if ${PORT_OPTIONS:MPLUGINS} @${REINPLACE_CMD} -e 's,#ADD_PLUGINS,ADD_PLUGINS,' \