From owner-freebsd-ports@FreeBSD.ORG Tue May 15 00:25:54 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 234F51065670 for ; Tue, 15 May 2012 00:25:53 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from nk11p00mm-asmtp005.mac.com (nk11p00mm-asmtp005.mac.com [17.158.161.4]) by mx1.freebsd.org (Postfix) with ESMTP id C01E48FC08 for ; Tue, 15 May 2012 00:25:53 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com (unknown [17.209.4.71]) by nk11p00mm-asmtp005.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0M4100MJQD2UDR70@nk11p00mm-asmtp005.mac.com> for ports@freebsd.org; Mon, 14 May 2012 23:25:43 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7580,1.0.260,0.0.0000 definitions=2012-05-14_04:2012-05-14, 2012-05-13, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1205140297 From: Chuck Swiger In-reply-to: <4FB1919E.3060700@shatow.net> Date: Mon, 14 May 2012 16:25:41 -0700 Message-id: References: <4FB1919E.3060700@shatow.net> To: Bryan Drewery X-Mailer: Apple Mail (2.1084) Cc: ports@freebsd.org Subject: Re: BUILD_DEPENDS= RUN_DEPENDS= 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, 15 May 2012 00:25:54 -0000 On May 14, 2012, at 4:13 PM, Bryan Drewery wrote: > I was trying to append to these in my /etc/make.conf and found that a > large (thousands) number of ports are using = instead of +=, thus > destroying any user-supplied depends. Yes. I think this may even be intentional on the part of the various port maintainers, but the notion of user-supplied additional dependencies is interesting. :-) > The use case for wanting to do this is to force devel/ccache to be a > build dependency on all ports, for package building. Or to force in a > particular library along with LDFLAGS into particular ports. This is > achievable by modifying bsd.local.mk, but is not ideal. Why do you need ccache added to the build dependencies to use it? Can't you just change CC/C++? > This goes along with updating all CLFAGS/LDFLAGS to use += instead of =. For most cases, sure, I would agree that CFLAGS/LDFLAGS should use +=. Regards, -- -Chuck