diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/evolution14/Makefile | 12 | ||||
-rw-r--r-- | mail/evolution14/options.mk | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/mail/evolution14/Makefile b/mail/evolution14/Makefile index 301d8829f94..b945fbaf8e8 100644 --- a/mail/evolution14/Makefile +++ b/mail/evolution14/Makefile @@ -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 @@ BUILDLINK_DEPENDS.glib2+= glib2>=2.4.0nb2 # 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 --git a/mail/evolution14/options.mk b/mail/evolution14/options.mk new file mode 100644 index 00000000000..3e2525c6704 --- /dev/null +++ b/mail/evolution14/options.mk @@ -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 |