aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-03 19:39:31 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-05-04 01:44:28 +0000
commit3482be7bea8f2151ba03cbb4adb44a18f1c868ac (patch)
tree933ac26296b50a66d6c7975bd1a29a29aee16497
parentcd394c0eb37785f9537616a17767dc412d2dfe73 (diff)
downloadports-3482be7bea8f2151ba03cbb4adb44a18f1c868ac.tar.gz
ports-3482be7bea8f2151ba03cbb4adb44a18f1c868ac.zip
devel/tcltls: Unbreak on HEAD
Approved by: portmgr (blanket)
-rw-r--r--devel/tcltls/Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/devel/tcltls/Makefile b/devel/tcltls/Makefile
index 1caff0151078..6e3d841be608 100644
--- a/devel/tcltls/Makefile
+++ b/devel/tcltls/Makefile
@@ -13,20 +13,28 @@ LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/license.terms
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-OPTIONS_DEFINE= DOCS
+USES= tcl:tea ssl
-USES+= tcl:tea ssl
CONFIGURE_ARGS+=--with-ssl-dir=${OPENSSLBASE} \
--enable-ssl-fastpath \
--disable-rpath
+CONFIGURE_ENV+= PATH=${OPENSSLBASE}/bin:${PATH}
+
+MAKE_ARGS+= "PACKAGE_INSTALL_DIR=${PREFIX}/lib/${TCL_PKG}"
+MAKE_ENV+= PATH=${OPENSSLBASE}/bin:${PATH}
+TEST_TARGET= test
PLIST_FILES= lib/${TCL_PKG}/tcltls.so \
lib/${TCL_PKG}/pkgIndex.tcl
PORTDOCS= *
-MAKE_ARGS+= "PACKAGE_INSTALL_DIR=${PREFIX}/lib/${TCL_PKG}"
-TEST_TARGET= test
-MAKE_ENV+= PATH=${OPENSSLBASE}/bin:${PATH}
-CONFIGURE_ENV+= PATH=${OPENSSLBASE}/bin:${PATH}
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+= -Wno-error=int-conversion
+.endif
post-patch:
${MV} ${WRKSRC}/tests/ciphers.test ${WRKSRC}/tests/ciphers.test.broken
@@ -35,4 +43,4 @@ post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tls.htm ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>