git: ba0d22eacd60 - main - libarchive: Fix typo in sed command

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Thu, 04 Jun 2026 22:37:29 UTC
The branch main has been updated by des:

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

commit ba0d22eacd6008e9f3b7395b41056de2423aef3d
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-06-04 22:35:50 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-06-04 22:37:23 +0000

    libarchive: Fix typo in sed command
    
    MFC after:      1 week
    Fixes:          eb3a0a74a069 ("libarchive: Clean up the build configuration")
    Reported by:    Shawn Webb <shawn.webb@hardenedbsd.org>
---
 lib/libarchive/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libarchive/Makefile.inc b/lib/libarchive/Makefile.inc
index 33ab0085367f..514ce205d560 100644
--- a/lib/libarchive/Makefile.inc
+++ b/lib/libarchive/Makefile.inc
@@ -5,7 +5,7 @@
 _LIBARCHIVEDIR=	${SRCTOP}/contrib/libarchive
 LIBARCHIVE_VERSION_ONLY_STRING!= \
 	sed -n '/define.*ARCHIVE_VERSION_ONLY_STRING/{s,[^0-9.],,gp;q;}' \
-	    ${LIBARCHIVEDIR}/libarchive/archive.h
+	    ${_LIBARCHIVEDIR}/libarchive/archive.h
 
 LIBADD+=	z bz2 lzma bsdxml zstd
 CFLAGS+=	-DPLATFORM_CONFIG_H=\"config_freebsd.h\"