diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-03-27 03:19:43 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-03-27 03:19:43 +0000 |
commit | e32afb6fea693addf91cf6d2aebe68164062fc6c (patch) | |
tree | 387535a43617bd882ee1e20ce4779c6544f8925b /net/jwhois | |
parent | d5f813f88b7e8fab565be817580917bc22dbdbec (diff) | |
download | pkgsrc-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/Makefile | 11 |
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 |