summaryrefslogtreecommitdiff
path: root/mail/mail-notification
diff options
context:
space:
mode:
authorgdt <gdt>2006-01-05 18:33:27 +0000
committergdt <gdt>2006-01-05 18:33:27 +0000
commit0c5cc5d88487dffa45e82ffd6330187c73543c29 (patch)
treed34f521739197edcf784c796fadb0f3c465e8fc0 /mail/mail-notification
parent07df95cd7c39efce3270f2102fc5028013331021 (diff)
downloadpkgsrc-0c5cc5d88487dffa45e82ffd6330187c73543c29.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')
-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"