Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 05:57:55 +0400 (MSD)
From:      .@babolo.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26783: graphics/gdtclft use ${SETENV} instead of ${ENV}
Message-ID:  <200104230157.FAA14776@aaz.links.ru>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
 
-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104230157.FAA14776>