summaryrefslogtreecommitdiff
path: root/net/jwhois/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/jwhois/Makefile')
-rw-r--r--net/jwhois/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 278bca702f4..361a0e179c5 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/17 18:19:01 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/03/27 03:20:11 hubertf Exp $
#
DISTNAME= jwhois-2.4.1
@@ -9,8 +9,7 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/jwhois/
COMMENT= Configurable WHOIS client
-BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf
-BUILD_DEPENDS+= ${LOCALBASE}/share/autoconf/gettext.m4:../../devel/gettext
+BUILD_DEPENDS+= autoconf-2.13:../../devel/autoconf
GNU_CONFIGURE= # defined
USE_LIBINTL= # defined
@@ -20,6 +19,12 @@ CONFIGURE_ARGS+= --with-cache
INFO_FILES= jwhois.info
+.include "../../mk/bsd.prefs.mk"
+
+.if !exists(${LOCALBASE}/share/aclocal/gettext.m4)
+BUILD_DEPENDS+= gettext-0.10.35nb1:../../devel/gettext
+.endif
+
pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf