From owner-freebsd-ports Sun Apr 22 19:20: 5 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 816CB37B424 for ; Sun, 22 Apr 2001 19:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3N2K1v81003; Sun, 22 Apr 2001 19:20:01 -0700 (PDT) (envelope-from gnats) Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id CE01F37B422 for ; Sun, 22 Apr 2001 19:14:50 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id GAA09616; Mon, 23 Apr 2001 06:15:29 +0400 (MSD) Message-Id: <200104230215.GAA09616@aaz.links.ru> Date: Mon, 23 Apr 2001 06:15:29 +0400 (MSD) From: .@babolo.ru Reply-To: .@babolo.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/26785: graphics/libimg use ${SETENV} instead of ${ENV} Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26785 >Category: ports >Synopsis: in graphics/libimg/Makefile ${ENV} used where ${SETENV} must >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 22 19:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Aleksandr A. Babaylov >Release: FreeBSD 4.3-RELEASE i386 >Organization: home >Environment: Fresh ports directory. >Description: ${ENV} is not defined in bsd.*.mk files, but it is used in /bin/sh as startup script. >How-To-Repeat: Define some startup script for /bin/sh without exec permission (sh need not) and try make in ports/graphics/libimg. You see: /home/babolo/.bashrc: permission denied "Makefile", line 44: warning: "/home/babolo/.bashrc TCL_VER= make -f /usr/ports/graphics/libimg/files/Makefile.bsd environ" returned non-zero status where /home/babolo/.bashrc is my /bin/sh startup script without x permission >Fix: --- Makefile.orig Fri Feb 16 04:35:40 2001 +++ Makefile Mon Apr 23 06:09:38 2001 @@ -41,5 +41,5 @@ .include -PLIST_SUBP!= ${ENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} environ +PLIST_SUBP!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} environ PLIST_SUB+= ${PLIST_SUBP} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message