svn commit: r412718 - head/devel/tcltls

Mikhail Teterin mi at FreeBSD.org
Fri Apr 8 04:44:50 UTC 2016


Author: mi
Date: Fri Apr  8 04:44:48 2016
New Revision: 412718
URL: https://svnweb.freebsd.org/changeset/ports/412718

Log:
  Detect, when building against libressl and add -DNO_SSL2 to CFLAGS
  in such situations. While here fix WWW and make other minor changes.
  
  PR:		208626
  Submitted by:	Mark Martinec

Modified:
  head/devel/tcltls/Makefile
  head/devel/tcltls/pkg-descr

Modified: head/devel/tcltls/Makefile
==============================================================================
--- head/devel/tcltls/Makefile	Fri Apr  8 04:26:33 2016	(r412717)
+++ head/devel/tcltls/Makefile	Fri Apr  8 04:44:48 2016	(r412718)
@@ -46,8 +46,14 @@ post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/tls.htm ${STAGEDIR}${DOCSDIR}
 
-xregression-test test check: build
+do-test check: build
 	cd ${WRKSRC}/tests && ${SETENV} TCL_LIBRARY="${WRKSRC}" \
 		tclsh${TCL_VER} all.tcl
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if "${WITH_OPENSSL_PORT:tl}" == "yes" && "${OPENSSL_PORT}" == "security/libressl"
+CFLAGS+=	-DNO_SSL2
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/devel/tcltls/pkg-descr
==============================================================================
--- head/devel/tcltls/pkg-descr	Fri Apr  8 04:26:33 2016	(r412717)
+++ head/devel/tcltls/pkg-descr	Fri Apr  8 04:44:48 2016	(r412718)
@@ -2,4 +2,4 @@ A portable extension that provides the p
 This extension can be used to utilize SSL encryption on top of any valid
 Tcl Channel - not just sockets!
 
-WWW: http://www.sensus.org/tcl/tls.htm
+WWW: http://tls.sourceforge.net/


More information about the svn-ports-head mailing list