summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-09 14:14:45 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-09 14:14:45 +0000
commit9da2f994e0b1231ba10f80fb54feec1c1512e20d (patch)
tree4e65b5518358c1dce75b8e02e2114288188e5882 /pkgtools/pkg_install
parent12953673668060284ab1484106babbd4402a7787 (diff)
downloadpkgsrc-9da2f994e0b1231ba10f80fb54feec1c1512e20d.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/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/create/perform.c6
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);