From owner-freebsd-ports@FreeBSD.ORG Thu Nov 2 23:18:39 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 9B61116A5C2 for ; Thu, 2 Nov 2006 23:18:39 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC5A443D70 for ; Thu, 2 Nov 2006 23:18:25 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 846C9388D00 for ; Thu, 2 Nov 2006 17:18:25 -0600 (CST) Date: Thu, 02 Nov 2006 17:15:45 -0600 From: Paul Schmehl To: FreeBSD Ports Message-ID: X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========E67DB60CE38A18173259==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ? 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: Thu, 02 Nov 2006 23:18:39 -0000 --==========E67DB60CE38A18173259========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 build=20 it normally, it uses WANT_GNOME=3DYES, USE_GNOME=3Dgnometarget. This leads = to=20 a config option of building with gtk12 or gtk2 (the default). One of the config options is --without_x11. 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? I was thinking of something like this: OPTIONS=3D WIRESHARK "Build wireshark without x11 support" off .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 Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========E67DB60CE38A18173259==========--