pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap extra_libarchive_depends() apparently hasn't...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23f13e982c4e
branches:  trunk
changeset: 771813:23f13e982c4e
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Dec 27 14:16:30 2021 +0000

description:
extra_libarchive_depends() apparently hasn't given multiple values for
Libs.private before, but it does on Gentoo ("-lmd -lb2"), so failing to
double-quote the output breaks bootstrap there. Adding the quotes causes
no regressions bootstrapping macOS Monterey or Ubuntu 21.10. Problem
report and solution from p.spek%tyil.nl@localhost.

diffstat:

 bootstrap/bootstrap |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 7f4cbe5e8bb2 -r 23f13e982c4e bootstrap/bootstrap
--- a/bootstrap/bootstrap       Mon Dec 27 10:53:36 2021 +0000
+++ b/bootstrap/bootstrap       Mon Dec 27 14:16:30 2021 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: bootstrap,v 1.304 2021/11/29 18:32:51 jperkin Exp $
+# $NetBSD: bootstrap,v 1.305 2021/12/27 14:16:30 schmonz Exp $
 #
 # Copyright (c) 2001-2011 Alistair Crooks <agc%NetBSD.org@localhost>
 # All rights reserved.
@@ -1304,7 +1304,7 @@
 --with-pkgdbdir=$pkgdbdir --infodir=$infodir \
 --mandir=$mandir $pkg_install_args && \
 STATIC_LIBARCHIVE=$wrkdir/libarchive/.libs/libarchive.a \
-STATIC_LIBARCHIVE_LDADD=`extra_libarchive_depends` \
+STATIC_LIBARCHIVE_LDADD="`extra_libarchive_depends`" \
 PKGSRC_MACHINE_ARCH="$machine_arch" $bmake $make_quiet_flags -j$make_jobs)"
 run_cmd "$install_sh -c -o $user -g $group -m 755 $wrkdir/pkg_install/add/pkg_add $wrkdir/sbin/pkg_add"
 run_cmd "$install_sh -c -o $user -g $group -m 755 $wrkdir/pkg_install/admin/pkg_admin $wrkdir/sbin/pkg_admin"



Home | Main Index | Thread Index | Old Index