Subject: Re: (b)make replace is borken
To: None <pkgsrc-users@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 08/09/2007 16:15:35
--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Aug 09, 2007 at 09:25:45AM -0400, Mark E. Perkins wrote:
> That fixes the pkg_tarup problem, but now I get this:

OK, commited a fix for this as well, attached patch is the diff.

Joerg

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pkg_create.diff"

Index: create/perform.c
===================================================================
RCS file: /home/joerg/repo/netbsd/pkgsrc/pkgtools/pkg_install/files/create/perform.c,v
retrieving revision 1.17
diff -u -r1.17 perform.c
--- create/perform.c	8 Aug 2007 22:33:39 -0000	1.17
+++ create/perform.c	9 Aug 2007 14:07:40 -0000
@@ -68,7 +68,7 @@
 			printf("Registering depends:");
 	}
 	while (deps) {
-		cp = strsep(&Pkgdeps, " \t\n");
+		cp = strsep(&deps, " \t\n");
 		if (*cp) {
 			char *best_installed;
 			best_installed = find_best_matching_installed_pkg(cp);

--UugvWAfsgieZRqgk--