From 31aebe0e32e5ddf3f3e231d94998b6d5d569037b Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Mon, 11 Mar 2002 22:34:12 +0000 Subject: Add a MUTT_CONFIGURE_ARGS variable for adding additional config options, and adjust the documentation to suggest /etc/make.conf as a good place to store the Makefile knobs. PR: 35731 Submitted by: maintainer --- mail/mutt-devel/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'mail/mutt-devel') diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 94935ef19137..1bef567dd63a 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -5,9 +5,19 @@ # # $FreeBSD$ # - # There are several knobs which are used to define additions to the core -# mutt functionality. The two most important are: +# mutt functionality. +# +# As all of the knobs have a unique name which should not interfere with +# other ports you can add them to /etc/make.conf, e.g. a line like +# "WITH_MUTT_HTML=yes" will enable mutt's HTML documentation. +# +# In addition to the knobs listed below you can enable other configuration +# options of mutt by adding them to the MUTT_CONFIGURE_ARGS variable. For +# example you could say "MUTT_CONFIGURE_ARGS=--with-homespool=MyMail" to +# configure a different directory for mutt's homespool. +# +# The two most important knobs are: # # In general you can choose between using the SLANG port (which is really # recommended and is now the default) and ncurses (WITH_MUTT_NCURSES). If you @@ -68,6 +78,9 @@ CONFIGURE_ARGS= --enable-flock --disable-fcntl \ --with-docdir=${PREFIX}/share/doc/mutt \ --sysconfdir=${PREFIX}/etc --enable-external-dotlock \ --with-libiconv-prefix=${PREFIX} +.if defined(MUTT_CONFIGURE_ARGS) +CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS} +.endif .include -- cgit v1.2.3