diff options
author | markd <markd@pkgsrc.org> | 2005-03-24 05:08:41 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2005-03-24 05:08:41 +0000 |
commit | 019b2e913f2a7cbdb5dac3c5947ac71f7f132eab (patch) | |
tree | 3bfac0b084d3c1f3e7bd80fb96f474be64369b8b /misc/kdepim3/Makefile | |
parent | 9af0d0f82a12efadb40167de80771439f8fe57fc (diff) | |
download | pkgsrc-019b2e913f2a7cbdb5dac3c5947ac71f7f132eab.tar.gz |
Make cyrus-sasl2 dependency optional but on by default. Default might
be switched if common authentication cases are handled without it.
Diffstat (limited to 'misc/kdepim3/Makefile')
-rw-r--r-- | misc/kdepim3/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/misc/kdepim3/Makefile b/misc/kdepim3/Makefile index 59b664a1c96..c435f871681 100644 --- a/misc/kdepim3/Makefile +++ b/misc/kdepim3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2005/03/23 22:07:07 markd Exp $ +# $NetBSD: Makefile,v 1.40 2005/03/24 05:08:41 markd Exp $ DISTNAME= kdepim-${_KDE_VERSION} CATEGORIES= misc @@ -11,6 +11,11 @@ USE_DIRS+= xdg-1.1 USE_PERL= run USE_GNU_TOOLS+= awk yacc +PKG_DEFAULT_OPTIONS+= sasl2 +PKG_OPTIONS_VAR= PKG_OPTIONS.kdepim +PKG_SUPPORTED_OPTIONS= sasl2 +.include "../../mk/bsd.options.mk" + BUILDLINK_DEPENDS.gpgme+= gpgme>=0.4.5 REPLACE_PERL= kmail/kmail-3.1-update-new-mail-notification-settings.pl \ @@ -32,9 +37,15 @@ REPLACE_PERL= kmail/kmail-3.1-update-new-mail-notification-settings.pl \ .include "../../meta-pkgs/kde3/kde3.mk" BUILDLINK_DEPMETHOD.qt3-tools= full +.if !empty(PKG_OPTIONS:Msasl2) +.include "../../security/cyrus-sasl2/buildlink3.mk" +PLIST_SUBST+= HAVE_SASL="" +.else +PLIST_SUBST+= HAVE_SASL="@comment " +.endif + .include "../../comms/libmal/buildlink3.mk" .include "../../comms/pilot-link-libs/buildlink3.mk" -.include "../../security/cyrus-sasl2/buildlink3.mk" .include "../../security/gpgme/buildlink3.mk" .include "../../x11/kdebase3/buildlink3.mk" .include "../../x11/kdelibs3/buildlink3.mk" |