Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Sep 2016 21:55:28 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421748 - head/net-im/imspector
Message-ID:  <201609102155.u8ALtSAJ040918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609102155.u8ALtSAJ040918>