From owner-freebsd-ports@FreeBSD.ORG Thu Nov 18 16:43:16 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DBA3106566B for ; Thu, 18 Nov 2010 16:43:16 +0000 (UTC) (envelope-from eirnym@gmail.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 DD0968FC15 for ; Thu, 18 Nov 2010 16:43:15 +0000 (UTC) Received: by gwj20 with SMTP id 20so2020040gwj.13 for ; Thu, 18 Nov 2010 08:43:15 -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=ITWOAvCXKh+oTFmCHPQPW2oFIYxuOnS8bm4IyYHQh1A=; b=ubziegfNqKpN8o9scibra5jM8i/SSucZMVuln4EexKYw1E68/ojRMJmm1a5kcmBiVY OfobtYZ6ZvofZyxbJ0yTykGG8vI1tdRxzxbcj7j6do4+x2oe2Xqrrgk7FS5dyWCRem5K JIkkT8FLBKz/rAXzwcUMqOMZOcxuuaGacI3L8= 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=W/lljsOgehtPoIqVskyMgPBA4z8ingeHNAo/67V9FqxOaN6hy7KmKvaBR+ELxUWsY9 fPEYpXQDjnkm7/wfemBzuevO4ppdNtIJ1ugCMKBm/OawfqZuyY0jQpvdolhopEGnnl4B JI4BEwLgxsOD0+dpEsMu+R+wvD45YSe0B9860= Received: by 10.204.119.133 with SMTP id z5mr792542bkq.82.1290097258365; Thu, 18 Nov 2010 08:20:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.123.131 with HTTP; Thu, 18 Nov 2010 08:13:03 -0800 (PST) In-Reply-To: <20101118160804.GA73849@eggman.experts-exchange.com> References: <4CE5280E.3090009@zedat.fu-berlin.de> <20101118160804.GA73849@eggman.experts-exchange.com> From: Eir Nym Date: Thu, 18 Nov 2010 19:13:03 +0300 Message-ID: To: Jason Helfman Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: 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: Thu, 18 Nov 2010 16:43:16 -0000 On 18 November 2010 19:08, Jason Helfman wrote: > On Thu, Nov 18, 2010 at 05:21:47PM +0300, Eir Nym thus spake: >> >> 2010/11/18 O. Hartmann : >>> >>> 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 >