Subject: pkg/22442: net/netcat thinko in make recursion
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 08/11/2003 17:21:50
>Number:         22442
>Category:       pkg
>Synopsis:       net/netcat thinko in make recursion
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 12 01:24:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1_STABLE
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:
>Description:

The program "env" is located in ${SETENV}, not ${ENV}, in pkgsrc.

>How-To-Repeat:

Set ENV to something (say, $HOME/.shrc, a popular favorite).  Build net/netcat.

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/netcat/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	2003/07/09 20:53:07	1.10
+++ Makefile	2003/08/11 21:19:22
@@ -26,7 +26,7 @@
 PLIST_SRC=	${PKGDIR}/PLIST ${WRKSRC}/data/PLIST.data
 
 post-build:
-	@cd ${WRKSRC}/data && ${ENV} ${MAKE_ENV} ${MAKE} ${EXTRA_PROGS}
+	@cd ${WRKSRC}/data && ${SETENV} ${MAKE_ENV} ${MAKE} ${EXTRA_PROGS}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/sbin
>Release-Note:
>Audit-Trail:
>Unformatted: