From owner-freebsd-ports Sun Apr 22 19: 0:10 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 8FEA537B43C for ; Sun, 22 Apr 2001 19:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3N202D76206; Sun, 22 Apr 2001 19:00:02 -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 E64DE37B423 for ; Sun, 22 Apr 2001 18:57:19 -0700 (PDT) (envelope-from babolo@links.ru) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id FAA14776; Mon, 23 Apr 2001 05:57:55 +0400 (MSD) Message-Id: <200104230157.FAA14776@aaz.links.ru> Date: Mon, 23 Apr 2001 05:57:55 +0400 (MSD) From: .@babolo.ru Reply-To: .@babolo.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/26783: graphics/gdtclft use ${SETENV} instead of ${ENV} Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26783 >Category: ports >Synopsis: in graphics/gdtclft/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:00: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/gdtclft. You see: "Makefile", line 34: warning: "/home/babolo/.bashrc TCL_VER=8.3 make -f /usr/ports/graphics/gdtclft/files/Makefile.bsd env" returned non-zero status /home/babolo/.bashrc: permission denied where /home/babolo/.bashrc is my /bin/sh startup script without x permission >Fix: --- Makefile.orig Fri Feb 16 04:35:16 2001 +++ Makefile Mon Apr 23 05:42:12 2001 @@ -31,4 +31,4 @@ .include -PLIST_SUB!= ${ENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env +PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message