From owner-freebsd-ports@FreeBSD.ORG Fri Nov 3 07:52:24 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 DC3AB16A416 for ; Fri, 3 Nov 2006 07:52:24 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5738A43D58 for ; Fri, 3 Nov 2006 07:52:21 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 072D81A4D82; Thu, 2 Nov 2006 23:52:21 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9DB3A51369; Fri, 3 Nov 2006 02:52:14 -0500 (EST) Date: Fri, 3 Nov 2006 02:52:14 -0500 From: Kris Kennaway To: Paul Schmehl Message-ID: <20061103075214.GA4997@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Ports Subject: Re: ? about DEPENDS_ARGS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 07:52:24 -0000 --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--