ports/102873: graphics/sdl_ttf depends on GL unconditionally

Stefan Sperling freebsd-gnats at stsp.in-berlin.de
Mon Sep 4 23:40:22 UTC 2006


>Number:         102873
>Category:       ports
>Synopsis:       graphics/sdl_ttf depends on GL unconditionally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 04 23:40:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Sperling
>Release:        FreeBSD 6.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD gurke.stsp.lan 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #4: Tue Aug 29 14:51:44 CEST 2006 stsp at gurke.stsp.lan:/usr/obj/usr/src/sys/GURKE i386


	
>Description:
	The graphics/sdl_ttf port depends on GL libraries unconditionally.
	Installing sdl_ttf on a system that does not run X11 is possible,
	but the Makefile needs to be modified not to pull GL and eventually
	X11 libraries in as dependencies.
	
>How-To-Repeat:
	Set WITHOUT_X11=yes, WITHOUT_OPENGL=yes and WITHOUT_GL=yes
	in /etc/make.conf. Try to install the port and watch as it
	pulls in X11 libraries anyway.
>Fix:
	This simple patch fixes the issue for me. I can now compile
	and install sdl_ttf on my non-X11 system without having GL and X11
	libraries installed.

--- Makefile.orig	Tue Sep  5 01:23:35 2006
+++ Makefile	Tue Sep  5 01:21:31 2006
@@ -18,7 +18,9 @@
 LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2
 
 USE_SDL=	sdl
+.if defined(WITH_GL)
 USE_GL=		yes
+.endif
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list