pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/jwhois Only enable --with-cache if ENABLE_CACHE is...
details: https://anonhg.NetBSD.org/pkgsrc/rev/215eb61230ef
branches: trunk
changeset: 474584:215eb61230ef
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sun May 02 18:01:15 2004 +0000
description:
Only enable --with-cache if ENABLE_CACHE is defined, so by default
this option is disabled which could be causing troubles in some cases
as reported Bill Squier in PR pkg/25413.
diffstat:
net/jwhois/Makefile | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 1cf96c5015f2 -r 215eb61230ef net/jwhois/Makefile
--- a/net/jwhois/Makefile Sun May 02 17:50:05 2004 +0000
+++ b/net/jwhois/Makefile Sun May 02 18:01:15 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2004/04/25 08:28:09 snj Exp $
+# $NetBSD: Makefile,v 1.36 2004/05/02 18:01:15 xtraeme Exp $
#
DISTNAME= jwhois-3.2.2
@@ -16,12 +16,17 @@
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --localstatedir=/var/db
-CONFIGURE_ARGS+= --with-cache
LIBS.SunOS+= -lnsl -lsocket
INFO_FILES= jwhois.info
+BUILD_DEFS+= ENABLE_CACHE
+
+.if defined(ENABLE_CACHE)
+CONFIGURE_ARGS+= --with-cache
+.endif
+
EGDIR= ${PREFIX}/share/examples/jwhois
CONF_FILES= ${EGDIR}/jwhois.conf.default \
${PKG_SYSCONFDIR}/jwhois.conf
Home |
Main Index |
Thread Index |
Old Index