summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-16 04:11:30 +0000
committerjlam <jlam@pkgsrc.org>2001-06-16 04:11:30 +0000
commite133a65d2936a35d88ac6f733db9e49089592549 (patch)
tree18a36a6288c3feedcdb5783d436157a08f6bedab /mk
parent7dd6ee8d15df47062b42a3bfc8c85cb4860c3773 (diff)
downloadpkgsrc-e133a65d2936a35d88ac6f733db9e49089592549.tar.gz
Add BUILD_USES_GETTEXT_M4 to set a build dependency on either an older
version of gettext or gettext-m4.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 879b148bcbd..d4e68364b11 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.760 2001/06/13 07:09:33 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.761 2001/06/16 04:11:30 jlam Exp $
#
# This file is in the public domain.
#
@@ -280,7 +280,11 @@ DEPENDS+= Xaw3d-1.5:../../x11/Xaw3d
.endif
.if defined(BUILD_USES_MSGFMT) && !exists(/usr/bin/msgfmt)
-BUILD_DEPENDS+= gettext-0.10.35nb1:../../devel/gettext
+BUILD_DEPENDS+= gettext>=0.10.35nb1:../../devel/gettext
+.endif
+
+.if defined(BUILD_USES_GETTEXT_M4)
+BUILD_DEPENDS+= {gettext-0.10.35nb1,gettext-m4-*}:../../devel/gettext-m4
.endif
# Don't change these!!! These names are built into the _TARGET_USE macro,