From owner-freebsd-ports@FreeBSD.ORG Tue Mar 8 14:51:21 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45913106566C for ; Tue, 8 Mar 2011 14:51:21 +0000 (UTC) (envelope-from michael.scheidell@secnap.com) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 102C68FC0A for ; Tue, 8 Mar 2011 14:51:20 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 4C87C2B7C5C for ; Tue, 8 Mar 2011 09:51:20 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.com; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id; s=dkim; t=1299595879; x=1301410279; bh=+L WoPXfJPEsGxT8af9XTvflMaNoQyW6fbub4/HkrdcA=; b=ZQXmnZ2BF5uNTntQj6 VmnNRXVXwU2Pv7Nl3XmcGplIjpvzH+w0ThuLpa3Y0LZYvcqhW/86m+2vYPbMcUaV 444wotlHgIkWfF+XI+xM9v0zRM+7MAjvgs02vjco2y2EKH6Uc0xlBIZoIgXUuByY anzQuBSSZVdisVAJXeyEdh8As= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.14 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id 71F0A2B7C0B for ; Tue, 8 Mar 2011 09:51:19 -0500 (EST) Received: from macintosh.secnap.com (10.70.3.3) by USBCTDC001.secnap.com (10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Tue, 8 Mar 2011 09:51:19 -0500 Message-ID: <4D76426A.2010006@secnap.com> Date: Tue, 8 Mar 2011 09:51:22 -0500 From: Michael Scheidell User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Superfluous dependencies 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: Tue, 08 Mar 2011 14:51:21 -0000 On 3/8/11 4:42 AM, Hans Ottevanger wrote: > One of them that I already hunted down is bison-2.4.3,1 that gets > dragged in via gobject-introspection-0.9.12_1 when installing > xorg-7,5.1 (even as a package). This is caused by bison specified as a > dependency of type "both" in the port Makefile of > gobject-introspection where it should be specified as "build". I don't > think that Bison is used on run-time here and most likely not even on > build- time. appears one of our 'short cuts' causes this. and I found it on a port I took over maint of. happens all the time if you do a 'RUN_DEPENDS += BUILD_DEPENDS' pulls in all kind of cruft. example: tshark_lite.. pulls in pkg_conf.. makes it messy if you make a port binary package, and try to install it with pkg_add {port}.tbz. lots of ports used that short cut above. and it should not (and I think port lint complains) Q: wireshark/tshark_lite maintainer: do you really need perl for runtime? or just to build tshark_lite? I installed it with pkg_add -f tshark_lite and never needed it (and system didn't have perl) -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 ISN: 1259*1300 >*| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best in Email Security,2010: Network Products Guide * King of Spam Filters, SC Magazine 2008 ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ ______________________________________________________________________