Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 13:48:05 +0200
From:      Radek Kozlowski <radek@raadradd.com>
To:        Alexander Kirillov <nevis2us@infoline.su>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: make.conf for ports?
Message-ID:  <20040928114805.GB62265@werd>
In-Reply-To: <41593CCF.8030007@infoline.su>
References:  <200409280424.i8S4ONTh018634@catflap.bishopston.net> <41593CCF.8030007@infoline.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 28, 2004 at 02:28:31PM +0400, Alexander Kirillov wrote:
> Thanks for your help everybody,
> /usr/local/etc/pkgtools.conf works for me.
> 
> Couldn't we add similar functionality to /usr/ports/Mk/bsd.port.mk
> using port origin as a hook for make arguments? And then be able to
> use definitions like DATABASES_MYSQL40='WITH_OPENSSL=yes' in
> /etc/make.conf?

You could do something like this:

.if ${.CURDIR:N*/ports/databases/mysql40-server} == ""
WITH_OPENSSL=yes
.endif


-Radek



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