Mk/bsd.command.mk: missing CSH tag
Eir Nym
eirnym at gmail.com
Thu Nov 18 16:43:16 UTC 2010
On 18 November 2010 19:08, Jason Helfman <jhelfman at e-e.com> wrote:
> On Thu, Nov 18, 2010 at 05:21:47PM +0300, Eir Nym thus spake:
>>
>> 2010/11/18 O. Hartmann <ohartman at 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 not
>>> 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 2010-11-18 08:05:47.000000000 -0800
> +++ bsd.commands.mk 2010-11-18 08:06:17.000000000 -0800
> @@ -76,6 +76,7 @@
> SED?= /usr/bin/sed
> SETENV?= /usr/bin/env
> SH?= /bin/sh
> +CSH?= /bin/csh
> SORT?= /usr/bin/sort
> STRIP_CMD?= /usr/bin/strip
> # 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
>
More information about the freebsd-ports
mailing list