[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting target in ports build
On Wed, Jun 02, 2004 at 05:34:54PM +0000, blastum@comcast.net wrote:
> How does one specify a target for a build in the ports tree?
>
> For example, I want to build mysql-server-4.0.18. I can go to
> /usr/ports/db/mysql, but a build there only builds mysql-client-4.0.18.
For mysql you're going to want to read about the SUBPACKAGE variable in
bsd.port.mk(5). I believe mysql will build all the separate packages by
default but only install the -client SUBPACKAGE.
You can install the other subpackages with sudo env SUBPACKAGE="-server"
make install or by using pkg_add on the package in
/usr/ports/packages/${ARCH}/all/
--
Mathieu Sauve-Frankel
msf@kisoku.net