Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2023 20:08:38 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a8c2e945f8f9 - main - sysutils/nut-devel: Replace lpthread with pthread
Message-ID:  <202311142008.3AEK8c0F056895@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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