diff options
author | shaun <shaun@FreeBSD.org> | 2006-09-20 21:23:01 +0800 |
---|---|---|
committer | shaun <shaun@FreeBSD.org> | 2006-09-20 21:23:01 +0800 |
commit | 9cffc34812959200d6414e334f6eb61cf6776116 (patch) | |
tree | 4fd40deb2ee72b16025f0ecc84ce9009ac3db979 /graphics | |
parent | c24fcf3fdee649756342bc95eebda31cc516f8c1 (diff) | |
download | freebsd-ports-gnome-9cffc34812959200d6414e334f6eb61cf6776116.tar.gz freebsd-ports-gnome-9cffc34812959200d6414e334f6eb61cf6776116.tar.zst freebsd-ports-gnome-9cffc34812959200d6414e334f6eb61cf6776116.zip |
- Drop dependency on GL libraries if WITHOUT_X11 or WITHOUT_GL is
defined.
PR: ports/102873
Submitted by: Stefan Sperling <freebsd-gnats@stsp.in-berlin.de>
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 |