summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-05-02 19:15:18 +0000
committerxtraeme <xtraeme>2004-05-02 19:15:18 +0000
commit2cc75ca363972dce81f3f1b4039342569be7ac7c (patch)
tree4a5d0c9bd7ab4ecff160f3e1cc59bd46ee1f01b8
parent3c954f960c4a8c85e953f94ca1d51fc294f42c61 (diff)
downloadpkgsrc-2cc75ca363972dce81f3f1b4039342569be7ac7c.tar.gz
Rename ENABLE_CACHE option to JWHOIS_ENABLE_CACHE, and document it in
the defaults file.
-rw-r--r--mk/bsd.pkg.defaults.mk7
-rw-r--r--net/jwhois/Makefile6
2 files changed, 9 insertions, 4 deletions
diff --git a/mk/bsd.pkg.defaults.mk b/mk/bsd.pkg.defaults.mk
index 6ab194fb53d..28c32dba31e 100644
--- a/mk/bsd.pkg.defaults.mk
+++ b/mk/bsd.pkg.defaults.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.235 2004/04/28 11:27:54 uebayasi Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.236 2004/05/02 19:15:18 xtraeme Exp $
#
# A file providing defaults for pkgsrc and the packages collection.
@@ -1249,6 +1249,11 @@ JSDK_HOME?= ${JAVA_HOME}/jsdk
# Possible: any directory
# Default: ${JAVA_HOME}/jsdk
+#JWHOIS_ENABLE_CACHE=
+# Enable cache option in net/jwhois package.
+# Possible: defined or not defined.
+# Default: not defined.
+
#KERBEROS=
# Used in many packages to specify use of a Kerberos (or compatible)
# subsystem. Requires Kerberos libraries in /usr/lib.
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index bc7b61d6d43..a155a553a64 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2004/05/02 18:01:15 xtraeme Exp $
+# $NetBSD: Makefile,v 1.37 2004/05/02 19:15:18 xtraeme Exp $
#
DISTNAME= jwhois-3.2.2
@@ -21,9 +21,9 @@ LIBS.SunOS+= -lnsl -lsocket
INFO_FILES= jwhois.info
-BUILD_DEFS+= ENABLE_CACHE
+BUILD_DEFS+= JWHOIS_ENABLE_CACHE
-.if defined(ENABLE_CACHE)
+.if defined(JWHOIS_ENABLE_CACHE)
CONFIGURE_ARGS+= --with-cache
.endif