diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sdl_ttf/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile index 2bf22d3c1113..91acaa6da329 100644 --- a/graphics/sdl_ttf/Makefile +++ b/graphics/sdl_ttf/Makefile @@ -7,7 +7,6 @@ PORTNAME= sdl_ttf PORTVERSION= 2.0.8 -PORTREVISION= 0 CATEGORIES= graphics MASTER_SITES= http://www.libsdl.org/projects/SDL_ttf/release/ DISTNAME= SDL_ttf-${PORTVERSION} @@ -18,7 +17,6 @@ COMMENT= A library to use TrueType fonts to render text in SDL applications LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 USE_SDL= sdl -USE_GL= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} @@ -26,6 +24,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" USE_LDCONFIG= yes +.if !defined(WITHOUT_X11) && !defined(WITHOUT_GL) +USE_GL= yes +.endif + post-install: ${INSTALL_PROGRAM} ${WRKSRC}/.libs/glfont ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/.libs/showfont ${PREFIX}/bin |