summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/gmime/Makefile11
-rw-r--r--mail/gmime/PLIST3
-rw-r--r--mail/gmime/distinfo6
-rw-r--r--mail/gmime/options.mk14
4 files changed, 21 insertions, 13 deletions
diff --git a/mail/gmime/Makefile b/mail/gmime/Makefile
index e45d89fe5bf..c15a07981cc 100644
--- a/mail/gmime/Makefile
+++ b/mail/gmime/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2004/11/04 12:12:31 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/11/14 16:48:55 jmmv Exp $
#
-DISTNAME= gmime-2.1.7
-PKGREVISION= 1
+DISTNAME= gmime-2.1.9
CATEGORIES= mail
MASTER_SITES= http://spruce.sourceforge.net/gmime/sources/v2.1/
@@ -20,11 +19,7 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
PKGCONFIG_OVERRIDE+= gmime-2.0.pc.in
.include "../../mk/bsd.prefs.mk"
-
-.if !empty(USE_INET6:M[Yy][Ee][Ss])
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
-BUILD_DEFS+= USE_INET6
+.include "options.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
diff --git a/mail/gmime/PLIST b/mail/gmime/PLIST
index 4e661dc4ba3..c3ef14b1eea 100644
--- a/mail/gmime/PLIST
+++ b/mail/gmime/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2004/09/22 08:09:41 jlam Exp $
+@comment $NetBSD: PLIST,v 1.5 2004/11/14 16:48:55 jmmv Exp $
bin/gmime-config
bin/uudecode
bin/uuencode
@@ -125,7 +125,6 @@ share/doc/gmime/gmime-resources.html
share/doc/gmime/gmime-streams.html
share/doc/gmime/gmime.devhelp
share/doc/gmime/gmime.html
-share/doc/gmime/gmon.out
share/doc/gmime/home.png
share/doc/gmime/index.html
share/doc/gmime/index.sgml
diff --git a/mail/gmime/distinfo b/mail/gmime/distinfo
index 306890b16f4..99525de781b 100644
--- a/mail/gmime/distinfo
+++ b/mail/gmime/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/07/23 15:08:56 recht Exp $
+$NetBSD: distinfo,v 1.4 2004/11/14 16:48:55 jmmv Exp $
-SHA1 (gmime-2.1.7.tar.gz) = 127cf10f119eaab4d94f6331a5b50ffd63ffe8ed
-Size (gmime-2.1.7.tar.gz) = 783247 bytes
+SHA1 (gmime-2.1.9.tar.gz) = a42bdea2a51f87dbc6697de52d946ed3f256b26c
+Size (gmime-2.1.9.tar.gz) = 784545 bytes
SHA1 (patch-aa) = e838216d593ff2003d436afb68477dc5701c34f4
diff --git a/mail/gmime/options.mk b/mail/gmime/options.mk
new file mode 100644
index 00000000000..3c9a7acf2fb
--- /dev/null
+++ b/mail/gmime/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2004/11/14 16:48:55 jmmv Exp $
+
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
+PKG_DEFAULT_OPTIONS+= ipv6
+.endif
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gmime
+PKG_SUPPORTED_OPTIONS= ipv6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mipv6)
+CONFIGURE_ARGS+= --enable-ipv6
+.endif