Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 22:47:23 +0300
From:      Eir Nym <eirnym@gmail.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        Christian Weisgerber <naddy@mips.inka.de>, freebsd-ports@freebsd.org
Subject:   Re: Mk/bsd.command.mk: missing CSH tag
Message-ID:  <AANLkTimB0xd7c4iDYAFnj6G2cRw%2BLEpKdWs__BzP283b@mail.gmail.com>
In-Reply-To: <86d3q19pdo.fsf@gmail.com>
References:  <4CE5280E.3090009@zedat.fu-berlin.de> <AANLkTinmZ2YXxMAPjghtur3n2GT-N16d0FFAc0=khb=k@mail.gmail.com> <86wro9e6e4.fsf@gmail.com> <AANLkTinip-y9n2w=bJ7QKidymYTQSsmSiybxU7FWoY==@mail.gmail.com> <ic65a0$16m1$1@lorvorc.mips.inka.de> <AANLkTi==u=EsDqMqbONfz1HNGQEOREYD_BAJWgc8Weji@mail.gmail.com> <86d3q19pdo.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 November 2010 20:47, Anonymous <swell.k@gmail.com> wrote:
> Eir Nym <eirnym@gmail.com> writes:
>
>> On 19 November 2010 18:32, Christian Weisgerber <naddy@mips.inka.de> wro=
te:
>>> Eir Nym <eirnym@gmail.com> 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



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