git: caae890860a9 - stable/15 - unbound: Tweak freebsd-configure script

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

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

commit caae890860a9fbf7c49ca1cef3ec9e23222f403e
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:48:28 +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)