Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 19:14:08 +0100
From:      Angelo Turetta <aturetta@commit.it>
To:        Chris Shenton <chris@shenton.org>
Cc:        ports@freebsd.org
Subject:   Re: portupgrade apache2 forgets modules, trashes other modules (svn)
Message-ID:  <4374DF70.8020308@commit.it>
In-Reply-To: <86r79n8cb5.fsf@PECTOPAH.shenton.org>
References:  <86r79n8cb5.fsf@PECTOPAH.shenton.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Shenton wrote:

> I've built Apache2 from ports with PROXY and SSL modules, which are not
> in the default set.  When I do a portupgrade to apache2, it only
> builds the default set so I lose my PROXY and SSL capabilities.
> 
> I've had to rebuild the port from the port directly, and specify the
> non-default modules.  Shouldn't the port remember which modules I've
> asked for and build those when I do a portupgrade?  If so, how do I do this?

portupgrade will run a plain 'make install' unless you tell him to do 
otherwise. You can either:

A) portupgrade -m "YOUR make OPIONS"

or (preferrable)

B) edit /usr/local/etc/pkgtools.conf and add your custom make options in 
the section MAKE_ARGS: portupgrade will automatically use these options 
every time you rebuild a particular port. Beware: the port name must be 
in the 'canonical' form, so use www/apache20 instead of apache-2.0.55

Hope this helps

Angelo Turetta



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4374DF70.8020308>