From owner-freebsd-ports Tue Feb 18 16:34:26 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E58837B401 for ; Tue, 18 Feb 2003 16:34:24 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-52.dsl.lsan03.pacbell.net [63.207.60.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9736843F3F for ; Tue, 18 Feb 2003 16:34:23 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 2FFDB67C8C; Tue, 18 Feb 2003 16:34:23 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 0FA291191; Tue, 18 Feb 2003 16:34:23 -0800 (PST) Date: Tue, 18 Feb 2003 16:34:23 -0800 From: Kris Kennaway To: Rui Lopes Cc: freebsd-ports@FreeBSD.ORG Subject: Re: passing arguments to *_DEPENDS Message-ID: <20030219003422.GD31515@rot13.obsecurity.org> References: <49549.217.129.151.119.1045600243.squirrel@webmail> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8w3uRX/HFJGApMzv" Content-Disposition: inline In-Reply-To: <49549.217.129.151.119.1045600243.squirrel@webmail> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --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