summaryrefslogtreecommitdiff
path: root/lang/tcl
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
commit39aae52e063ed023435320f21c58a1c16d866d1f (patch)
tree0285cf003fd624dc16685552fba2f200571a98ff /lang/tcl
parent113ff2274f575cf33db39900e0a169183f6f9c2d (diff)
downloadpkgsrc-39aae52e063ed023435320f21c58a1c16d866d1f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'lang/tcl')
-rw-r--r--lang/tcl/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index d2d40dde0fc..e583c899337 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2016/02/19 15:15:42 jperkin Exp $
+# $NetBSD: Makefile,v 1.88 2016/02/25 14:42:57 jperkin Exp $
DISTNAME= tcl${TCL_VERSION}-src
PKGNAME= tcl-${TCL_VERSION}
@@ -36,9 +36,7 @@ TEST_TARGET= test
CONFIGURE_ARGS+= --enable-64bit
.endif
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+= ac_cv_func_gethostbyname_r=no
-.endif
+CONFIGURE_ARGS.NetBSD+= ac_cv_func_gethostbyname_r=no
SUBST_CLASSES+= tcl-config
SUBST_STAGE.tcl-config= post-build