From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 29 08:10:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 367FC106567A for ; Fri, 29 Aug 2008 08:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D26638FC22 for ; Fri, 29 Aug 2008 08:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7T8A3nW022305 for ; Fri, 29 Aug 2008 08:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7T8A3wB022299; Fri, 29 Aug 2008 08:10:03 GMT (envelope-from gnats) Resent-Date: Fri, 29 Aug 2008 08:10:03 GMT Resent-Message-Id: <200808290810.m7T8A3wB022299@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E62C2106566B for ; Fri, 29 Aug 2008 08:09:37 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from sunpoet.net (sunpoet.net [203.204.205.212]) by mx1.freebsd.org (Postfix) with ESMTP id BC3EF8FC17 for ; Fri, 29 Aug 2008 08:09:37 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by sunpoet.net (Postfix, from userid 1000) id 11BAF1E44; Fri, 29 Aug 2008 16:09:33 +0800 (CST) Message-Id: <20080829080933.11BAF1E44@sunpoet.net> Date: Fri, 29 Aug 2008 16:09:33 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/126935: [PATCH] archivers/lzo2: fix build for users not using /bin/sh as root's shell X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sunpoet Po-Chuan Hsieh List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2008 08:10:04 -0000 >Number: 126935 >Category: ports >Synopsis: [PATCH] archivers/lzo2: fix build for users not using /bin/sh as root's shell >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Aug 29 08:10:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 7.0-STABLE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 7.0-STABLE FreeBSD 7.0-STABLE #10: Fri Aug 1 11:36:08 CST 2008 root@bonjour.sunpoet.net:/usr/obj/usr/src/sys/bonjour amd64 >Description: The newly-added -x arguemnt is for sh. Instead of $SHELL, use $SH to call /bin/sh explicitly. It fixes build for users not using /bin/sh as root's shell. For me, I use /bin/tcsh as root's shell. ===> Running self-tests for lzo2-2.03_2 (can take a few minutes, without output) cd /usr/ports/works/usr/ports/archivers/lzo2/work/lzo-2.03 && make test SHELL="/bin/tcsh -x" make all-recursive Making all in include Making all in lzo Making all in src Making all in lzotest Making all in examples Making all in tests Making all in minilzo ./lzotest/lzotest -mavail -n10 -q ./COPYING /bin/tcsh -x -e ./util/check.sh . set -e set: Variable name must begin with a letter. *** Error code 1 Stop in /usr/ports/works/usr/ports/archivers/lzo2/work/lzo-2.03. *** Error code 1 Stop in /usr/ports/archivers/lzo2. >How-To-Repeat: >Fix: --- /usr/ports/archivers/lzo2/Makefile.orig 2008-08-29 13:52:49.176177000 +0800 +++ /usr/ports/archivers/lzo2/Makefile 2008-08-29 15:50:15.774828146 +0800 @@ -25,7 +25,7 @@ post-build: @${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes, without output)" - cd ${WRKSRC} && ${MAKE} test SHELL="${SHELL} -x" + cd ${WRKSRC} && ${MAKE} test SHELL="${SH} -x" post-install: .if !defined(NOPORTDOCS) >Release-Note: >Audit-Trail: >Unformatted: