Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 06:15:29 +0400 (MSD)
From:      .@babolo.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26785: graphics/libimg use ${SETENV} instead of ${ENV}
Message-ID:  <200104230215.GAA09616@aaz.links.ru>

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

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




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