Index: devel/tcltls/Makefile =================================================================== --- devel/tcltls/Makefile +++ devel/tcltls/Makefile @@ -26,13 +26,14 @@ TCLPKG= tls${PORTVERSION} WRKSRC= ${WRKDIR}/${TCLPKG} -PLIST_FILES= include/tls.h \ - lib/${TCLPKG}/libtls.so.1 \ +PLIST_FILES= lib/${TCLPKG}/libtls.so.1 \ lib/${TCLPKG}/pkgIndex.tcl \ lib/${TCLPKG}/tls.tcl PORTDOCS= * post-patch: + # Do not install tls.h + ${REINPLACE_CMD} -e '/^PKG_HEADERS/s|^|#|' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e \ 's,package require tls.*,load ${WRKSRC}/libtls.so.1;\ source ${WRKSRC}/tls.tcl,' \ Index: devel/tcltls/files/patch-tlsInt.h =================================================================== --- /dev/null +++ devel/tcltls/files/patch-tlsInt.h @@ -0,0 +1,17 @@ +--- tlsInt.h.orig 2015-09-18 14:45:32 UTC ++++ tlsInt.h +@@ -54,6 +54,14 @@ + #include + #endif + ++#ifdef OPENSSL_NO_SSL2 ++#define NO_SSL2 ++#endif ++ ++#ifdef OPENSSL_NO_SSL3 ++#define NO_SSL3 ++#endif ++ + #ifndef SSL_OP_NO_TLSv1_1 + #define NO_TLS1_1 + #endif