Bug 102873 - graphics/sdl_ttf depends on GL unconditionally
Summary: graphics/sdl_ttf depends on GL unconditionally
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Shaun Amott
Depends on:
Reported: 2006-09-05 00:40 UTC by Stefan Sperling
Modified: 2006-09-20 14:26 UTC (History)
0 users

See Also:

file.diff (314 bytes, patch)
2006-09-05 00:40 UTC, Stefan Sperling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Sperling 2006-09-05 00:40:20 UTC
	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.

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.
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.
Comment 1 Edwin Groothuis freebsd_committer 2006-09-05 00:40:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shaun

Over to maintainer
Comment 2 Shaun Amott freebsd_committer 2006-09-20 14:22:28 UTC
State Changed
From-To: open->closed

I have used WITHOUT_X11 and WITHOUT_GL to determine whether or not to 
depend on GL - so that the default behavior is maintained.