Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2024 21:28:14 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3075939da41a - main - src.libnames.mk: fix LIBPFCTL definition
Message-ID:  <202404152128.43FLSEjm014153@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

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

commit 3075939da41a22fc6a4ec592d78f582a711b5e79
Author:     Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-04-14 10:37:46 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-04-15 21:27:05 +0000

    src.libnames.mk: fix LIBPFCTL definition
    
    Following the convention used in the rest of this file, ${LIBPFCTLDIR}
    should refer to the directory, and ${LIBPFCTL} to the library itself.
    
    Instead, both values were assigned to ${LIBPFCTL}, and ${LIBPFCTLDIR} was
    not set at all.
    
    This appears to be a simple typo and not a deliberate choice, so fix it
    by assigning the directory name to ${LIBPFCTLDIR} instead.
---
 share/mk/src.libnames.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
index a12c3755ea72..ebe788a346aa 100644
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -617,7 +617,7 @@ LIBOPTS?=	${LIBOPTSDIR}/libopts${PIE_SUFFIX}.a
 LIBPARSEDIR=	${_LIB_OBJTOP}/usr.sbin/ntp/libparse
 LIBPARSE?=	${LIBPARSEDIR}/libparse${PIE_SUFFIX}.a
 
-LIBPFCTL=	${_LIB_OBJTOP}/lib/libpfctl
+LIBPFCTLDIR=	${_LIB_OBJTOP}/lib/libpfctl
 LIBPFCTL?=	${LIBPFCTLDIR}/libpfctl${PIE_SUFFIX}.a
 
 LIBLPRDIR=	${_LIB_OBJTOP}/usr.sbin/lpr/common_source



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404152128.43FLSEjm014153>