summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-10-02 14:53:41 +0000
committerkamil <kamil@pkgsrc.org>2019-10-02 14:53:41 +0000
commit84da559fb58239871364f39c6f9fca0e49e81eec (patch)
treeb92cbd229276bc6a6aff4d83a7bc4e038f751653 /lang
parentc394160eea4964f6caf6639bf53c389dcaa24b13 (diff)
downloadpkgsrc-84da559fb58239871364f39c6f9fca0e49e81eec.tar.gz
tcl85: Disable false positive detection of gethostby*_r/NetBSD
gethostbyaddr_r and gethostbyname_r is an internal libc symbol, not to be used in 3rd party software. Proper fix merged upstream: https://core.tcl-lang.org/tcl/info/16768d65f0
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl85/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/tcl85/Makefile b/lang/tcl85/Makefile
index a48782ba400..f001dbc0c71 100644
--- a/lang/tcl85/Makefile
+++ b/lang/tcl85/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2016/03/03 21:16:46 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3 2019/10/02 14:53:41 kamil Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -33,6 +34,9 @@ TEST_TARGET= test
CONFIGURE_ARGS+= --enable-64bit
.endif
+CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyname_r=no
+CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyaddr_r=no
+
SUBST_CLASSES+= tcl-config
SUBST_STAGE.tcl-config= post-build
SUBST_FILES.tcl-config= unix/tclConfig.sh