summaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-03-27 03:19:43 +0000
committerhubertf <hubertf@pkgsrc.org>2001-03-27 03:19:43 +0000
commite32afb6fea693addf91cf6d2aebe68164062fc6c (patch)
tree387535a43617bd882ee1e20ce4779c6544f8925b /net/jwhois
parentd5f813f88b7e8fab565be817580917bc22dbdbec (diff)
downloadpkgsrc-e32afb6fea693addf91cf6d2aebe68164062fc6c.tar.gz
Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
Diffstat (limited to 'net/jwhois')
-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