git: ca3b0dcfadc9 - main - graphics/R-cran-jpeg: Fix build when math/R is built without JPEG

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Fri, 04 Oct 2024 15:43:10 UTC
The branch main has been updated by jrm:

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

commit ca3b0dcfadc994aa22800797a396368c9be44861
Author:     Florian Wagner <florian@wagner-flo.net>
AuthorDate: 2024-10-04 15:33:09 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-10-04 15:38:45 +0000

    graphics/R-cran-jpeg: Fix build when math/R is built without JPEG
    
    Do this by explicitly depending on graphics/jpeg-turbo.
    
    PR:             272155
---
 graphics/R-cran-jpeg/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/R-cran-jpeg/Makefile b/graphics/R-cran-jpeg/Makefile
index 9fb2d2c85ed2..99a023ce5e6b 100644
--- a/graphics/R-cran-jpeg/Makefile
+++ b/graphics/R-cran-jpeg/Makefile
@@ -11,6 +11,6 @@ WWW=		https://www.rforge.net/jpeg/
 LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 
-USES=		cran:auto-plist,compiles
+USES=		cran:auto-plist,compiles jpeg
 
 .include <bsd.port.mk>