Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 16:34:23 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Rui Lopes <rui@ruilopes.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: passing arguments to *_DEPENDS
Message-ID:  <20030219003422.GD31515@rot13.obsecurity.org>
In-Reply-To: <49549.217.129.151.119.1045600243.squirrel@webmail>
References:  <49549.217.129.151.119.1045600243.squirrel@webmail>

next in thread | previous in thread | raw e-mail | index | archive | help

--8w3uRX/HFJGApMzv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Feb 18, 2003 at 08:30:43PM -0000, Rui Lopes wrote:
> Hi,
>=20
> My port Makefile has this,
>=20
> LIB_DEPENDS=3D pcre:${PORTSDIR}/devel/pcre:${INSTALL_pcre}
>=20
> INSTALL_pcre=3D "install CONFIGURE_ARGS=3D--enable-utf8"
>=20
>=20
> this works and installs PCRE lib with "CONFIGURE_ARGS=3D--enable-utf8", b=
ut
> from porter's handbook I should only pass a target, i.e. install, but I
> need to pass some arguments... how can I do it?

I'm not sure this sort of thing will work correctly, e.g. if you
already have pcre installed.

If you need to depend on a port that is built with certain nonstandard
options, the usual solution is to make a slave port of the target port
that enables those options by default, then depend on it in the usual
way.

Kris

--8w3uRX/HFJGApMzv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+UtEOWry0BWjoQKURAjkFAKCrKl7oGr1Juabvpbu+LQ6MDHjlkgCgpc6r
meklbk4Et9RoNGqduwm9e/I=
=9v4J
-----END PGP SIGNATURE-----

--8w3uRX/HFJGApMzv--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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