git: 16c3384e8036 - main - graphics/art: Fix build on some systems

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 23:28:05 UTC
The branch main has been updated by yuri:

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

commit 16c3384e803627db573ec81bfc653e152c050703
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-03 23:26:55 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-03 23:28:03 +0000

    graphics/art: Fix build on some systems
    
    It was failing with missing pthread_* symbol.
    
    Reported by:    fallout
---
 graphics/art/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/graphics/art/Makefile b/graphics/art/Makefile
index 0a52d944066e..6e39dffc8282 100644
--- a/graphics/art/Makefile
+++ b/graphics/art/Makefile
@@ -32,6 +32,8 @@ USE_XORG=	x11
 
 EXTRACT_CMD=	gtar
 
+LDFLAGS+=	-lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create
+
 OPTIONS_DEFINE=		OPENMP
 #OPTIONS_DEFAULT=	OPENMP