Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 14:08:43 +0900 (JST)
From:      takamune@avrl.mei.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22337: ${ENV} -> ${SETENV}
Message-ID:  <200010270508.e9R58hb77183@dream.vrl.mei.co.jp>

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

>Number:         22337
>Category:       ports
>Synopsis:       ${ENV} -> ${SETENV}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 26 22:10:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kazu TAKAMUNE
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Matsushita Electric Industrial Co., Ltd.
>Environment:

FreeBSD 4.1.1-STABLE(Thu Oct 26 11:42:36 JST 2000)
ports/Mk/bsd.port.mk,v 1.356 2000/10/17 10:11:16

>Description:

Some MakefileS use ${ENV} macro.
They should be ${SETENV} instead.

${ENV} is used for sh(1).

>How-To-Repeat:

>Fix:

Index: ports/editors/jedit/Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/jedit/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ports/editors/jedit/Makefile	2000/08/01 09:15:11	1.3
+++ ports/editors/jedit/Makefile	2000/10/27 04:51:18
@@ -30,7 +30,7 @@
 
 do-install:
 	@${SED} "s|%%PREFIX%%|${PREFIX}| ; s|%%WRKDIR%%|${WRKDIR}|" ${FILESDIR}/instscript | \
-		${ENV} CLASSPATH=${DISTDIR}/${PORTNAME}-${PORTVERSION:S/.0/final/}.jar:${DISTDIR}/swingall.jar \
+		${SETENV} CLASSPATH=${DISTDIR}/${PORTNAME}-${PORTVERSION:S/.0/final/}.jar:${DISTDIR}/swingall.jar \
 		${LOCALBASE}/bin/javavm install text
 	@${INSTALL_DATA} ${DISTDIR}/swingall.jar ${PREFIX}/share/java/jedit
 	@${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${PREFIX}/bin/jedit
Index: ports/mail/mew/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/mew/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- ports/mail/mew/Makefile	2000/10/08 07:20:59	1.26
+++ ports/mail/mew/Makefile	2000/10/10 02:22:50
@@ -182,7 +182,7 @@
 	${CP} ${SAMPLEFILES} ${WRKTMPDIR}
 
 pre-install:
-	${ENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/tmpl2file.sh
+	${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/tmpl2file.sh
 	@${MKDIR} ${ELISPDIR} ${INFODIR}
 .if (${EMACS_NAME} == "xemacs")
 	@${MKDIR} ${ETCDIR}/etc
@@ -225,9 +225,9 @@
 #arrange:
 #	${MKDIR} ${PKGDIR}
 #	${ECHO} ${COMMENT_TEXT} > ${PKGDIR}/COMMENT
-#	${ENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} TMPL_FILES=DESCR \
+#	${SETENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} TMPL_FILES=DESCR \
 #		${SH} ${FILESDIR}/tmpl2file.sh
-#	${ENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} ${SH} ${FILESDIR}/message.sh
+#	${SETENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} ${SH} ${FILESDIR}/message.sh
 #	${CHOWN} kiri:staff ${PKGDIR} ${PKGDIR}/COMMENT ${PKGDIR}/DESCR ${PKGDIR}/MESSAGE
 #.if (${EMACS_NAME} == "xemacs") && ${EMACS_MAJOR_VER} > 20
 #	${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS} EMACS_INFODIR=${EMACS_INFODIR}" \
Index: ports/www/mozilla/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mozilla/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- ports/www/mozilla/Makefile	2000/10/25 05:15:45	1.49
+++ ports/www/mozilla/Makefile	2000/10/27 04:50:57
@@ -53,10 +53,10 @@
 		${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
 	@${CHMOD} 555 ${WRKSRC}/mozilla
 	@(cd ${WRKSRC}/dist/bin; \
-	  ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
+	  ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
 	  ${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
 	  ${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
-	  ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
+	  ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
 
 do-install:
 	${MKDIR} ${PREFIX}/lib/mozilla
Index: ports/www/mozilla+ipv6/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mozilla+ipv6/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- ports/www/mozilla+ipv6/Makefile	2000/10/25 20:17:30	1.49
+++ ports/www/mozilla+ipv6/Makefile	2000/10/27 04:51:06
@@ -54,10 +54,10 @@
 		${FILESDIR}/mozilla.sh >${WRKSRC}/mozilla
 	@${CHMOD} 555 ${WRKSRC}/mozilla
 	@(cd ${WRKSRC}/dist/bin; \
-	  ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
+	  ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
 	  ${ECHO} skin,install,select,classic/1.0 >> chrome/installed-chrome.txt; \
 	  ${ECHO} locale,install,select,en-US >> chrome/installed-chrome.txt; \
-	  ${ENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
+	  ${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
 
 do-install:
 	${MKDIR} ${PREFIX}/lib/mozilla
Index: ports/www/mozilla-embedded/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/mozilla-embedded/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- ports/www/mozilla-embedded/Makefile	2000/08/31 12:26:03	1.2
+++ ports/www/mozilla-embedded/Makefile	2000/10/27 04:50:50
@@ -29,7 +29,7 @@
 	cd ${WRKSRC}/embedding/config && ${SETENV} ${MAKE_ENV} ${GMAKE} \
 		${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
 	(cd ${WRKSRC}/dist/bin && \
-	  ${ENV} LD_LIBRARY_PATH=${WRKSRC}/dist/Embed \
+	  ${SETENV} LD_LIBRARY_PATH=${WRKSRC}/dist/Embed \
 		MOZILLA_FIVE_HOME=${WRKSRC}/dist/Embed ./regxpcom)
 	find ${WRKSRC}/dist/Embed -name "*.so" | xargs strip
 

>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?200010270508.e9R58hb77183>