diff options
author | xtraeme <xtraeme> | 2004-05-02 18:01:15 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-05-02 18:01:15 +0000 |
commit | 91729b894e949f030b818c25c73bee298dddaa3a (patch) | |
tree | 562fa4ae557a00138af48cd0bdf4aa7395daebcf /net/jwhois | |
parent | f98c1c82813ee8ff29860c79746c2bee36f08145 (diff) | |
download | pkgsrc-91729b894e949f030b818c25c73bee298dddaa3a.tar.gz |
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 (limited to 'net/jwhois')
-rw-r--r-- | net/jwhois/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile index a7bdea36fed..bc7b61d6d43 100644 --- a/net/jwhois/Makefile +++ b/net/jwhois/Makefile @@ -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 @@ USE_PKGLOCALEDIR= YES 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 |