git: f57677209d3a - main - graphics/GraphicsMagick: Fix build with FPX option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 20 Apr 2024 14:26:52 UTC
The branch main has been updated by sunpoet:

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

commit f57677209d3a6981cbb5e2bceba03c37ea2f65a8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 14:22:18 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 14:25:36 +0000

    graphics/GraphicsMagick: Fix build with FPX option
    
    Reported by:    vvd
---
 graphics/GraphicsMagick/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index 98b9b182def1..3daf2157d2be 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -31,6 +31,7 @@ TEST_DESC=	Run bundled self-tests after build
 
 BZIP2_CONFIGURE_WITH=	bzlib
 FPX_CONFIGURE_WITH=	fpx
+FPX_LDFLAGS=		-L${LOCALBASE}/lib -lfpx
 FPX_LIB_DEPENDS=	libfpx.so:graphics/libfpx
 FREETYPE_CONFIGURE_WITH=ttf
 FREETYPE_LIB_DEPENDS=	libfreetype.so:print/freetype2