summaryrefslogtreecommitdiff
path: root/mail/alpine/options.mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-01-20 15:18:55 +0000
committerabs <abs@pkgsrc.org>2008-01-20 15:18:55 +0000
commitdde47471aa6d5c7ffc0b040bd46ae604360ceca9 (patch)
treeab8bae8fcd8ee11bb71f1a01bad542c1f5dc2d72 /mail/alpine/options.mk
parentbb62b9cc42e466f77ee8074e3dc94c0553618893 (diff)
downloadpkgsrc-dde47471aa6d5c7ffc0b040bd46ae604360ceca9.tar.gz
Update alpine to 1.00nb3 - PR#37805 from Christian Gall
- Add ldap and alpinesearchheader options and move options to options.mk
Diffstat (limited to 'mail/alpine/options.mk')
-rw-r--r--mail/alpine/options.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/mail/alpine/options.mk b/mail/alpine/options.mk
new file mode 100644
index 00000000000..d6ad5c2bc71
--- /dev/null
+++ b/mail/alpine/options.mk
@@ -0,0 +1,37 @@
+# $NetBSD: options.mk,v 1.1 2008/01/20 15:18:55 abs Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.alpine
+PKG_SUPPORTED_OPTIONS= fancythreads ldap pinepwd alpinesearchheader
+PKG_SUGGESTED_OPTIONS= pinepwd
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfancythreads)
+PATCH_SITES+=
+http://staff.washington.edu/chappa/alpine/patches/alpine-1.00/
+PATCHFILES+= fancy.patch.gz
+PATCH_DIST_STRIP= -p1
+.endif
+
+# not tested
+#.if !empty(PKG_OPTIONS:Mkerberos)
+#CONFIGURE_ARGS+= --with-krb5
+#.include "../../mk/krb5.buildlink3.mk"
+#.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+CONFIGURE_ARGS+= --with-ldap
+.include "../../databases/openldap-client/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpinepwd)
+CONFIGURE_ARGS+= --with-passfile=.pinepwd
+.endif
+
+.if !empty(PKG_OPTIONS:Malpinesearchheader)
+PATCH_SITES+=
+http://staff.washington.edu/chappa/alpine/patches/alpine-1.00/
+PATCHFILES+= searchheader.patch.gz
+PATCH_DIST_STRIP= -p1
+.endif