From owner-freebsd-ports@FreeBSD.ORG Fri Sep 22 17:35:29 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 231FE16A47B for ; Fri, 22 Sep 2006 17:35:29 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAB2A43D5D for ; Fri, 22 Sep 2006 17:33:49 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so258148uge for ; Fri, 22 Sep 2006 10:33:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FaTnax3U5xtOKJVxVSYKUmeaNq30K7CvFJAQi4FoSalrmGeklrZwrIjBQs9t8Ahb7rURA+FJ1iTWkgid5LtspfNxdBkbC3ZgnQzJVIOw81zpm3AjhtIh22to/7an8YTwvBFM4d1PtlGdNEqJ33x5QJF+x2dsf4rg8SWcvkwwghk= Received: by 10.67.103.7 with SMTP id f7mr778237ugm; Fri, 22 Sep 2006 10:33:48 -0700 (PDT) Received: by 10.67.86.15 with HTTP; Fri, 22 Sep 2006 10:33:48 -0700 (PDT) Message-ID: <790a9fff0609221033t3f6645a1pefb7b7db451d649f@mail.gmail.com> Date: Fri, 22 Sep 2006 12:33:48 -0500 From: "Scot Hetzel" To: ports@freebsd.org, kde@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: x11/kde3: LANG=C: not found error 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, 22 Sep 2006 17:35:29 -0000 When the x11/kde3/scripts/configure.kde script is run it displays the following error: LANG=C: not found Looking for installd modules.LANG=C: not found This causes the script to display a dialog box with all options not checked. The cause of the problem is that the TR variable is being defined as "LANG=C /usr/bin/tr" in bsd.port.mk and then passed to the script in SCRIPTS_ENV. Which causes this code to fail with the error: for i in `${ECHO} "${ALL_MODULES}" | ${TR} '[:upper:]' '[:lower:]'` do eval status_$i=ON done NOTE: to see the error you need to add a 'read var' before the script displays the dialog box. I checked my system, and have the /usr/share/nls/C directory, and it contains one file (ee.cat). I also looked at the /usr/share/locale directory, and didn't find a C directory in there. Is there something wrong on my system, or is there a bug in this configure script. Scot PS. There is also another bug in the do-install target of the port. If you do a "make install" without first doing a "make build" the kde-meta.conf file is not installed. This is caused by the ports Makefile looking for Makefile.inc before it is created.