git: a8c2e945f8f9 - main - sysutils/nut-devel: Replace lpthread with pthread

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 20:08:38 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a8c2e945f8f9ea0d818f13a099958607bac884d5

commit a8c2e945f8f9ea0d818f13a099958607bac884d5
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2023-11-14 19:47:02 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-11-14 20:08:14 +0000

    sysutils/nut-devel: Replace lpthread with pthread
    
    The -pthread option is preferred these days. It tells the compiler to
    do whatever is necessary to enable pthreads whereas -lpthread simply
    includes the library. No change is intended.
---
 sysutils/nut-devel/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index bbc3e5529876..aa98cb7a2928 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -83,7 +83,7 @@ CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/nut \
 		--with-python3=${PYTHON_CMD} \
 		--with-ltdl --with-nut-scanner
 
-CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -lpthread
+CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -pthread
 LIB_DEPENDS+=	libltdl.so:devel/libltdl
 
 # XXX Remove this when copying this port to sysutils/nut. The GA version