From owner-freebsd-ports@FreeBSD.ORG Fri Nov 19 19:47:46 2010 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 864E51065695 for ; Fri, 19 Nov 2010 19:47:46 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0A8DD8FC1A for ; Fri, 19 Nov 2010 19:47:45 +0000 (UTC) Received: by bwz2 with SMTP id 2so4337766bwz.13 for ; Fri, 19 Nov 2010 11:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=3IDB2FCisxwkLn5ILrB7wuGXqC1lRV/KHRsos3XDgL8=; b=mCcTMuJ+LCNFu5Pp5T2x42JHPMxEGueuTjGNvVueFlIrlcv04z+fzomkIkTzPCYblg SKCGFpqIRDAwBVone8sPHTMOQPGu/THEv354LNdCa/nLMnvqWDf9PVpX52fWBBHP1ZXm 0FOKIeRcloslzp1hw4tkEHchugCO/hEV0epc0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=GU7BXj+vPWXoX6N8p/+Dd+1gBhLxJ4ITm8qDppIajsqsPvi3ZeE/vvL1V4d19vnH54 MMg1isYuSuC+9zIB6YjbpnPRxp4vxOHiM+9RQUqPIR1r2WkIYNQMmkWjNXp41G+cglOn yFqBw14i1FoAPB2bVdnfbcz94VliaUCdWx7ps= Received: by 10.204.98.75 with SMTP id p11mr2553577bkn.55.1290196064386; Fri, 19 Nov 2010 11:47:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.123.131 with HTTP; Fri, 19 Nov 2010 11:47:23 -0800 (PST) In-Reply-To: <86d3q19pdo.fsf@gmail.com> References: <4CE5280E.3090009@zedat.fu-berlin.de> <86wro9e6e4.fsf@gmail.com> <86d3q19pdo.fsf@gmail.com> From: Eir Nym Date: Fri, 19 Nov 2010 22:47:23 +0300 Message-ID: To: Anonymous Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Christian Weisgerber , freebsd-ports@freebsd.org Subject: Re: Mk/bsd.command.mk: missing CSH tag 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: Fri, 19 Nov 2010 19:47:46 -0000 On 19 November 2010 20:47, Anonymous wrote: > Eir Nym writes: > >> On 19 November 2010 18:32, Christian Weisgerber wro= te: >>> Eir Nym wrote: >>> >>>> >>> Since when? If you are missing /bin/csh, your system is defective >>> Yes, I know there is a WITHOUT_TCSH knob. You can use this when >>> you build a FreeBSD-based embedded system where you know you won't >>> need csh. In no way does the existence of this knob imply that csh >>> is optional on a standard FreeBSD system where you build ports. > > What are those requirements that constitute standard FreeBSD system > capable of building ports? > >>> >> >> Ok, another example is NIS. You can turn off NIS support in your >> system, and ports will check NIS biraries if they need them. > > There are more examples > > =C2=A0- openssl: WITH_OPENSSL_PORT > =C2=A0- pkg_install: .if exists(...) > =C2=A0- fetch: .if exists(...) > =C2=A0- texinfo: by relying on PATH > > And rather than resurrecting shells/tcsh one can also also try > > =C2=A0BUILD_DEPENDS +=3D ${CSH}:${PORTSDIR}/shells/44bsd-csh > > =C2=A0.if exists(/bin/csh) > =C2=A0CSH ?=3D /bin/csh > =C2=A0.else > =C2=A0CSH ?=3D ${LOCALBASE}/bin/44bsd-csh > =C2=A0.endif > > But some ports may assume csh is tcsh like sh is bash on linux. > Oh, sorry, I haven't knew if csh is in ports tree. thanks