From 3075939da41a22fc6a4ec592d78f582a711b5e79 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 14 Apr 2024 11:37:46 +0100 Subject: [PATCH] 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 a12c3755ea7..ebe788a346a 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