Date: Sun, 26 Mar 2006 14:07:34 -0500 (EST) From: Chris Hill <chris@monochrome.org> To: Matt Singerman <matt.singerman@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Adjusting configuration options during port installation? Message-ID: <20060326135430.E69019@tripel.monochrome.org> In-Reply-To: <54682af50603261043j1c377235ldad7c10ef537d2cd@mail.gmail.com> References: <54682af50603261010nbc004eby2e3fc19972f1d652@mail.gmail.com> <20060326133209.M69019@tripel.monochrome.org> <54682af50603261043j1c377235ldad7c10ef537d2cd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Mar 2006, Matt Singerman wrote:
> Thank you for letting me know about this option. Unfortunately, the
> specific configure options I am looking for are not listed there. Is
> there another way to go in and modify the configuration?
You would have to browse through the Makefile and look for configuration
options. Typically, if there is a FOOBAR option, you would 'make
-DFOOBAR install' in the port directory.
Or, you could just edit the Makefile to add the arg you want. Let's look
at mail/cyrus-imapd23. Its Makefile has a section that goes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--with-cyrus-prefix=${PREFIX}/cyrus \
--with-cyrus-user=${CYRUS_USER} \
--with-cyrus-group=${CYRUS_GROUP} \
--with-sasl=${LOCALBASE} \
--with-bdb-libdir=${LOCALBASE}/lib \
--with-com_err \
--with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5} \
note the trailing backslash I added ^
I would imagine you could just add
--with-mboxlist-db=berkeley \
and
--with-seen-db=flat
to that list. (The backslash means "continued on the next line".)
Disclaimers: 1) I know nothing about cyrus. 2) I have never hacked a
Makefile in this way. What I've said makes sense to me, but maybe others
know better or can elaborate.
--
Chris Hill chris@monochrome.org
** [ Busy Expunging <|> ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060326135430.E69019>
