git: cd69bc03cf67 - main - unbound: Tweak freebsd-configure script

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Fri, 22 May 2026 19:58:07 UTC
The branch main has been updated by des:

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

commit cd69bc03cf67b958e08206d49562903c57b5bd28
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-22 19:55:22 +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.
---
 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)