diff options
author | jlam <jlam> | 2007-11-19 20:28:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2007-11-19 20:28:57 +0000 |
commit | ff947cfd862b5ba0f4e4600fc919d1f4052b4380 (patch) | |
tree | 5aff3f3a56d9819698182f4ca433fd9154764f1c /mail | |
parent | 60df7b55cee317624724e3d7581662a5658a4262 (diff) | |
download | pkgsrc-ff947cfd862b5ba0f4e4600fc919d1f4052b4380.tar.gz |
Don't look for openssl or c_rehash binaries because cone doesn't
actually need them at all. Add a "fam" option to cone which allows
it to be notified by the OS about changes to local Maildirs. Bump
the PKGREVISION to 1.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/cone/Makefile | 14 | ||||
-rw-r--r-- | mail/cone/options.mk | 7 |
2 files changed, 19 insertions, 2 deletions
diff --git a/mail/cone/Makefile b/mail/cone/Makefile index 496d02ebae6..6c5d7605a36 100644 --- a/mail/cone/Makefile +++ b/mail/cone/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/11/13 18:02:15 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2007/11/19 20:28:57 jlam Exp $ DISTNAME= cone-0.73 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=courier/} EXTRACT_SUFX= .tar.bz2 @@ -9,7 +10,7 @@ MAINTAINER= jlam@pkgsrc.org HOMEPAGE= http://www.courier-mta.org/cone/ COMMENT= console newsreader and emailer -USE_TOOLS+= gmake +USE_TOOLS+= gmake perl true USE_LANGUAGES= c c++ GCC_REQD+= 3.0 # need Standard C++ Library @@ -19,6 +20,15 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --without-certdb +# Cone doesn't really need the openssl or c_rehash binaries, but the +# rootcerts/configure script is written poorly and directly overrides +# variables that were meant for the builder to use. Fix that by +# overriding the special ac_cv_* configure cache variables as a last +# resort. +# +CONFIGURE_ENV+= ac_cv_path_OPENSSL=${TOOLS_TRUE} +CONFIGURE_ENV+= ac_cv_path_REHASH=${TOOLS_TRUE} + EGDIR= ${PREFIX}/share/examples/cone INSTALL_AM_MAKEFLAGS+= sysconfdir=${EGDIR:Q} INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} AM_MAKEFLAGS=${INSTALL_AM_MAKEFLAGS:Q} diff --git a/mail/cone/options.mk b/mail/cone/options.mk index d9ea8bb004e..328160ffabc 100644 --- a/mail/cone/options.mk +++ b/mail/cone/options.mk @@ -20,3 +20,10 @@ CONFIGURE_ARGS+= --with-spellcheck=aspell .if !empty(PKG_OPTIONS:Mldap) . include "../../databases/openldap-client/buildlink3.mk" .endif + +### +### FAM (file alteration monitor) support +### +.if !empty(PKG_OPTIONS:Mfam) +. include "../../mk/fam.buildlink3.mk" +.endif |