git: 22f95b69f208 - stable/14 - unbound: Tweak freebsd-configure script

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 26 May 2026 16:49:51 UTC
The branch stable/14 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=22f95b69f2089c037eeb96266c11d60b938d6e2d

commit 22f95b69f2089c037eeb96266c11d60b938d6e2d
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-05-22 19:55:22 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-05-26 16:49:33 +0000

    unbound: Tweak freebsd-configure script
    
    Regenerating the configure script is optional and can introduce noise
    if the installed versions of autoconf, automake, and libtool do not
    match those used upstream.  Tweak our script slightly so it will skip
    this step if libtoolize is not found.
    
    (cherry picked from commit cd69bc03cf67b958e08206d49562903c57b5bd28)
---
 contrib/unbound/freebsd-configure.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/unbound/freebsd-configure.sh b/contrib/unbound/freebsd-configure.sh
index cd45d4716320..a22428948574 100755
--- a/contrib/unbound/freebsd-configure.sh
+++ b/contrib/unbound/freebsd-configure.sh
@@ -14,7 +14,7 @@ unbound=$(dirname $(realpath $0))
 cd $unbound
 
 # Run autotools before we drop LOCALBASE out of PATH
-(cd $unbound && libtoolize --copy && autoheader && autoconf)
+libtoolize --copy && autoheader && autoconf
 
 # Ensure we use the correct toolchain and clean our environment
 export CC=$(echo ".include <bsd.lib.mk>" | make -f /dev/stdin -VCC)