summaryrefslogtreecommitdiff
path: root/mail/pine
diff options
context:
space:
mode:
authortv <tv>2007-10-11 13:14:48 +0000
committertv <tv>2007-10-11 13:14:48 +0000
commit58153f138f9352709ec323946a154073b4301e72 (patch)
tree0842817de26718c688f016cb8543ffeeef99851f /mail/pine
parentecafd96f56e8be2d81861027a9dfb9aee6e64071 (diff)
downloadpkgsrc-58153f138f9352709ec323946a154073b4301e72.tar.gz
Add $HOME/.pinepwd support by default; bump PKGREVISION. Option "pinepwd"
can be disabled to remove the behavior again. In spite of UW's "recommendations" against enabling this, it should be up to the sysadmin and user whether to use the rope to build a bridge or hang him/herself. PC-Pine has it enabled by default; there's no reason besides FUD to make the Un*x build any different.
Diffstat (limited to 'mail/pine')
-rw-r--r--mail/pine/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/pine/Makefile b/mail/pine/Makefile
index 303417bd1f4..74bc3107c26 100644
--- a/mail/pine/Makefile
+++ b/mail/pine/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.115 2007/10/07 15:49:17 obache Exp $
+# $NetBSD: Makefile,v 1.116 2007/10/11 13:14:48 tv Exp $
DISTNAME= pine4.64
PKGNAME= pine-4.64
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail news
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.fu-berlin.de/unix/mail/pine/
@@ -46,7 +46,8 @@ UNLIMIT_RESOURCES+= datasize
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.pine
-PKG_SUPPORTED_OPTIONS= ldap fancythreads
+PKG_SUPPORTED_OPTIONS= ldap fancythreads pinepwd
+PKG_SUGGESTED_OPTIONS= pinepwd
.include "../../mk/bsd.options.mk"
@@ -62,6 +63,10 @@ PATCHFILES+= fancy.patch.gz
PATCH_DIST_STRIP= -p1
.endif
+.if !empty(PKG_OPTIONS:Mpinepwd)
+CFLAGS+= -DPASSFILE=\\\".pinepwd\\\"
+.endif
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
# Make sure the imap lib that comes with pine isn't