pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/evolution14 Convert to options framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5c69c8041d66
branches: trunk
changeset: 494999:5c69c8041d66
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jun 01 14:47:54 2005 +0000
description:
Convert to options framework.
diffstat:
mail/evolution14/Makefile | 12 ++----------
mail/evolution14/options.mk | 12 ++++++++++++
2 files changed, 14 insertions(+), 10 deletions(-)
diffs (42 lines):
diff -r 6b27ec74f84f -r 5c69c8041d66 mail/evolution14/Makefile
--- a/mail/evolution14/Makefile Wed Jun 01 14:45:35 2005 +0000
+++ b/mail/evolution14/Makefile Wed Jun 01 14:47:54 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/05/22 20:08:11 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2005/06/01 14:47:54 wiz Exp $
DISTNAME= evolution-1.4.6
PKGNAME= ${DISTNAME:S/evolution/evolution14/}
@@ -24,15 +24,7 @@
# to make sure locally stored mails remain in the same format!
BUILDLINK_DEPENDS.db3= db3-3.11.2{,nb*}
-.include "../../mk/bsd.prefs.mk"
-
-BUILD_DEFS+= USE_INET6
-
-.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
-CONFIGURE_ARGS+= --enable-ipv6=yes
-.else
-CONFIGURE_ARGS+= --enable-ipv6=no
-.endif
+.include "options.mk"
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
diff -r 6b27ec74f84f -r 5c69c8041d66 mail/evolution14/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution14/options.mk Wed Jun 01 14:47:54 2005 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2005/06/01 14:47:54 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.evolution14
+PKG_SUPPORTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6=yes
+.else
+CONFIGURE_ARGS+= --enable-ipv6=no
+.endif
Home |
Main Index |
Thread Index |
Old Index