pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/cone Don't look for openssl or c_rehash binaries ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2906c504a2dd
branches: trunk
changeset: 535498:2906c504a2dd
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Nov 19 20:28:57 2007 +0000
description:
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:
mail/cone/Makefile | 14 ++++++++++++--
mail/cone/options.mk | 7 +++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diffs (51 lines):
diff -r 6d449ad23372 -r 2906c504a2dd mail/cone/Makefile
--- a/mail/cone/Makefile Mon Nov 19 19:34:53 2007 +0000
+++ b/mail/cone/Makefile Mon Nov 19 20:28:57 2007 +0000
@@ -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 @@
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 @@
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 -r 6d449ad23372 -r 2906c504a2dd mail/cone/options.mk
--- a/mail/cone/options.mk Mon Nov 19 19:34:53 2007 +0000
+++ b/mail/cone/options.mk Mon Nov 19 20:28:57 2007 +0000
@@ -20,3 +20,10 @@
.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
Home |
Main Index |
Thread Index |
Old Index