From owner-freebsd-ports@FreeBSD.ORG Sat Jan 1 19:44:35 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 982C610656A7; Sat, 1 Jan 2011 19:44:35 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 403BF8FC16; Sat, 1 Jan 2011 19:44:34 +0000 (UTC) Received: by gwj21 with SMTP id 21so6269308gwj.13 for ; Sat, 01 Jan 2011 11:44:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=dTmoZQklJrPLWcDTKRtE0U9YgX48W4V4BCGUxPkIgMI=; b=hIgohDz5so5Tj4dyxAVNeepHjUCTY8xf7TxTZHLrtDZJr9EIEzu2vSNF2QMvJ0FgTH ku/mKZgAnWvoWRSfDBrdcf1qtTJ6yooe7+lXMzVOWHyinEDSlCuvunuDZzAILALUwX0P JMXfH7TMeAOrLJpHuAaiff4DlBU0IGzwU+8LM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=dmnACG134+60nEMUd+Cwd+zER6oLgattnf/zt2+3ICdATztS6urfpgXlWkOMjXbleD TV8RfQ6pmBJQxBMQrTQB+fW4oIezfz6SbBnDQve9wxWe8Pj6LcS43MutsuF5olzu4Omp JqJZ0ygHConj1C64d8PDlF0PunEHSyGPZK1dc= MIME-Version: 1.0 Received: by 10.236.103.38 with SMTP id e26mr15692035yhg.88.1293911073394; Sat, 01 Jan 2011 11:44:33 -0800 (PST) Received: by 10.236.105.197 with HTTP; Sat, 1 Jan 2011 11:44:33 -0800 (PST) In-Reply-To: <4D1F7DEA.9020006@FreeBSD.org> References: <4D1F7DEA.9020006@FreeBSD.org> Date: Sat, 1 Jan 2011 19:44:33 +0000 Message-ID: From: "b. f." To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ports@freebsd.org Subject: Re: ports-mgmt/portconf , ports-mgmt/portmaster and make args X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 19:44:35 -0000 On 1/1/11, Doug Barton wrote: > On 12/31/2010 18:40, b. f. wrote: > >> You don't need to go to those lengths. You could just add a >> command-line switch, or a check for a cookie (.buildme or .nopkg, say) >> in the corresponding PORT_DBDIR subdirector(y|ies), or both, to allow >> the user to indicate to portmaster that it should always build the >> port(s) in question, even if -P is used. > > My preferences are for something that it's possible for other port tool > authors to use, and something that requires the minimal necessary steps > for the user. Since the OP is already editing knobs in ports.conf, and > since IMO either ports.conf or make.conf are easier to transport between > systems I think I'll give Matthew's idea a try first. :) Whatever works, as long as it is not specific to ports-mgmt/portconf, because many users may not use that port and yet still want to avoid the use of packages for certain ports. Note that various Makefiles (Makefile.{inc,local,${ARCH},${OPSYS}, and ${ARCH}-${OPSYS}}) can also hold per-port defines that may have to be accounted for, and that NO_PACKAGE may preclude your use of 'make package' with -g in portmaster (at least without some workaround like FORCE_PACKAGE). b.