summaryrefslogtreecommitdiff
path: root/mail/mail-notification/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-01-05 18:33:27 +0000
committergdt <gdt@pkgsrc.org>2006-01-05 18:33:27 +0000
commitae4b6d46c2f6fb0d39f01e22e9b3bfac5db761e5 (patch)
treed34f521739197edcf784c796fadb0f3c465e8fc0 /mail/mail-notification/Makefile
parent2bbbd70847b9f606c46f5193c569c96f384aae19 (diff)
downloadpkgsrc-ae4b6d46c2f6fb0d39f01e22e9b3bfac5db761e5.tar.gz
Define BUILD_USES_MSGFMT and USE_MSGFMT_PLURALS, rather than requiring
a specific version of gettext. Thanks to jmmv@ for suggestions.
Diffstat (limited to 'mail/mail-notification/Makefile')
-rw-r--r--mail/mail-notification/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
index 9fd4e235504..ab1585c1353 100644
--- a/mail/mail-notification/Makefile
+++ b/mail/mail-notification/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2006/01/05 17:46:49 gdt Exp $
+# $NetBSD: Makefile,v 1.18 2006/01/05 18:33:27 gdt Exp $
#
DISTNAME= mail-notification-2.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail gnome
MASTER_SITES= http://savannah.nongnu.org/download/mailnotify/
@@ -14,6 +14,8 @@ GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake pkg-config
USE_PKGLOCALEDIR= YES
+BUILD_USES_MSGFMT= YES
+USE_MSGFMT_PLURALS= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
@@ -48,15 +50,9 @@ CONFIGURE_ARGS+= --disable-sasl
CONFIGURE_ARGS+= --disable-ssl
.endif
-# The build requires msgfmt (gettext, not gettext-lib).
-# Gettext 0.14.4 and 0.11.5 are ok, and 0.10.35 is not.
-# Upstream maintainer indicates that 0.10.36 should suffice.
-# BUILD_USES_MSGFMT has no wasy to require newer gettext.
-BUILD_DEPENDS+= gettext>=0.11.5:../../devel/gettext
-
.include "../../devel/eel2/buildlink3.mk"
.include "../../devel/GConf2/schemas.mk"
-#.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/gettext-lib/builtin.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/libglade2/buildlink3.mk"