diff options
author | joerg <joerg> | 2007-08-09 14:14:45 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-09 14:14:45 +0000 |
commit | dc8c0b5de8dd8e62cba6406596ee233685fed925 (patch) | |
tree | 4e65b5518358c1dce75b8e02e2114288188e5882 /pkgtools | |
parent | e81ffcee0c8f32200c8c2d8cd264ebe9cbd03833 (diff) | |
download | pkgsrc-dc8c0b5de8dd8e62cba6406596ee233685fed925.tar.gz |
Use the passed in string and Pkgdeps when calling strsep, fixing
processing of the build options. Reported by tron@ in PR 36754 and
Mark E. Perkins on pkgsrc-users.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/create/perform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/create/perform.c b/pkgtools/pkg_install/files/create/perform.c index a6b47a7c376..b07d925c90e 100644 --- a/pkgtools/pkg_install/files/create/perform.c +++ b/pkgtools/pkg_install/files/create/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.17 2007/08/08 22:33:39 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.18 2007/08/09 14:14:45 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -11,7 +11,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.17 2007/08/08 22:33:39 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.18 2007/08/09 14:14:45 joerg Exp $"); #endif #endif @@ -68,7 +68,7 @@ register_depends(package_t *plist, char *deps, int build_only) 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); |