git: 86880ceb5d48 - main - devel/py-game_sdl2: unbreak with sdl2/VIDEO_X11=off

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 03 Jan 2022 13:25:51 UTC
The branch main has been updated by jbeich:

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

commit 86880ceb5d485fe287a2509277805f117b0b5ac8
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-03 13:19:26 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-03 13:21:58 +0000

    devel/py-game_sdl2: unbreak with sdl2/VIDEO_X11=off
    
    src/write_jpeg.c:23:10: fatal error: 'jpeglib.h' file not found
     #include <jpeglib.h>
              ^~~~~~~~~~~
---
 devel/py-game_sdl2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-game_sdl2/Makefile b/devel/py-game_sdl2/Makefile
index b94ee14bb09a..2d989922d3a4 100644
--- a/devel/py-game_sdl2/Makefile
+++ b/devel/py-game_sdl2/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libpng.so:graphics/png
 # Upstream tends to reroll distfiles before moving under /release/
 PORTSCOUT=	site:http://www.renpy.org/dl/release/
 
-USES=		jpeg python:2.7+ sdl
+USES=		jpeg localbase python:2.7+ sdl
 USE_SDL=	image2 mixer2 ttf2
 USE_PYTHON=	autoplist distutils cython
 EXCLUDE=	gen gen3 PKG-INFO '*.egg-info'