Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2006 17:15:45 -0600
From:      Paul Schmehl <pauls@utdallas.edu>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   ? about DEPENDS_ARGS
Message-ID:  <D5D662A8D76353E29CC7AE79@utd59514.utdallas.edu>

next in thread | raw e-mail | index | archive | help
--==========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==========--




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