Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Nov 2010 19:13:03 +0300
From:      Eir Nym <eirnym@gmail.com>
To:        Jason Helfman <jhelfman@e-e.com>
Cc:        ports@freebsd.org
Subject:   Re: Mk/bsd.command.mk: missing CSH tag
Message-ID:  <AANLkTimkLmZNVWE1XG4vekHtYYrWWRk9-Jq8shJVdze1@mail.gmail.com>
In-Reply-To: <20101118160804.GA73849@eggman.experts-exchange.com>
References:  <4CE5280E.3090009@zedat.fu-berlin.de> <AANLkTin5v4NDNQyYDBCJ=r0OUo33vSqLF5a6rYCZQaS2@mail.gmail.com> <20101118160804.GA73849@eggman.experts-exchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 November 2010 19:08, Jason Helfman <jhelfman@e-e.com> wrote:
> On Thu, Nov 18, 2010 at 05:21:47PM +0300, Eir Nym thus spake:
>>
>> 2010/11/18 O. Hartmann <ohartman@zedat.fu-berlin.de>:
>>>
>>> Hello out there,
>>> I was trying porting some unusual scientific software to the ports
>>> collection (the first time I do) and run into problems. The port does n=
ot
>>> have any kind of Makefile environment, it is build and installed via a
>>> csh
>>> script. These scripts also seem to run via ${SH}, but it would be nice =
to
>>> ${CSH}. Is it possible to import this tag into
>>>
>>> Mk/bsd.command.mk?
>>>
>>
>> I can recommend to create some Makefile (it is very simple) or rewrite
>> it (it is also very simple)
>> For example, I have no (t)csh in my system and there no tcsh in ports
>> system..
>>
>> If you need, I can help you with.
>
> Wrote a quick patch:
> --- bsd.commands.mk.orig =C2=A0 =C2=A0 =C2=A0 =C2=A02010-11-18 08:05:47.0=
00000000 -0800
> +++ bsd.commands.mk =C2=A0 =C2=A0 2010-11-18 08:06:17.000000000 -0800
> @@ -76,6 +76,7 @@
> =C2=A0SED?=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/usr/bin/sed
> =C2=A0SETENV?=3D =C2=A0 =C2=A0 =C2=A0 /usr/bin/env
> =C2=A0SH?=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /bin/sh
> +CSH?=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/bin/csh
> =C2=A0SORT?=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 /usr/bin/sort
> =C2=A0STRIP_CMD?=3D =C2=A0 =C2=A0/usr/bin/strip
> =C2=A0# Command to run commands as privileged user
>

Your patch should check if tcsh is in system. it is optional component.

>>
>>> Thanks,
>>>
>>> Oliver
>>> _______________________________________________
>>
>
> --
> Jason Helfman
> System Administrator
> experts-exchange.com
> http://www.experts-exchange.com/M_4830110.html
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimkLmZNVWE1XG4vekHtYYrWWRk9-Jq8shJVdze1>