Date: Wed, 31 May 2006 17:08:03 -0700 From: Darren Pilgrim <darren.pilgrim@bitfreak.org> To: matt@genesi-usa.com Cc: freebsd-ports@freebsd.org Subject: Re: Screwed ports tree/package database on my server Message-ID: <447E2FE3.9050801@bitfreak.org> In-Reply-To: <001601c684b9$82abc830$99dfdfdf@bakuhatsu.net> References: <001601c684b9$82abc830$99dfdfdf@bakuhatsu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Matt Sealey wrote: > I'd like to know why Apache 2.0 ever got reinstalled though, in the > first place.. but I hope it simply doesn't happen again so I won't > have to worry. The port would have tried to install Apache 2.0 over Apache 2.2 if the port Makefile had USE_APACHE=20 in it. The port should be changed to USE_APACHE=20+ unless the port is specific to Apache 2.0. Adding port-specific variables to /etc/make.conf isn't wrong, but /etc/make.conf is global. You should limit the scope of ports variables by wrapping the variables with a .CURDIR evaluation. For example: .if ${.CURDIR:M*/mail/postfix} BATCH=yes POSTFIX_OPTIONS=SASL2 SPF TLS MySQL .endif The above defines BATCH and POSTFIX_OPTIONS iff make was invoked in a directory ending in /mail/postfix. See make(1) for more details. -- Darren Pilgrim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447E2FE3.9050801>