Date: Fri, 3 Nov 2006 02:52:14 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Paul Schmehl <pauls@utdallas.edu> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: ? about DEPENDS_ARGS Message-ID: <20061103075214.GA4997@xor.obsecurity.org> In-Reply-To: <D5D662A8D76353E29CC7AE79@utd59514.utdallas.edu> References: <D5D662A8D76353E29CC7AE79@utd59514.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 02, 2006 at 05:15:45PM -0600, Paul Schmehl wrote: > I'm working on a new port. One of the dependencies is net/wireshark. I= =20 > noticed that net/wireshark can be build without x11 support. If you buil= d=20 > it normally, it uses WANT_GNOME=3DYES, USE_GNOME=3Dgnometarget. This lea= ds to=20 > a config option of building with gtk12 or gtk2 (the default). >=20 > One of the config options is --without_x11. >=20 > So, for those who don't use gnome, should the port be built without x11?= =20 > And if so, can I do anything about that in my port? >=20 > I was thinking of something like this: >=20 > OPTIONS=3D WIRESHARK "Build wireshark without x11 support" off >=20 > .if defined(WITH_WIRESHARK) > RUN_DEPENDS+=3D wireshark:${PORTSDIR}/net/wireshark > DEPENDS_ARGS=3D --without_x11 > .else > RUN_DEPENDS+=3D wireshark:${PORTSDIR}/net/wireshark > .endif This won't work...think about what happens if the dependency is already installed. Perhapd DEPENDS_ARGS just needs to be removed. Kris --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFSvUuWry0BWjoQKURArQaAJ9vui1R63CByckMWS1HS1sVj72OcwCg7Z1v mvZORQBCS14iyHzC/hCy/jg= =16fk -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061103075214.GA4997>