ports/91186: [net/sdl_net] Do not require 'graphics/guilib'

Ed Schouten ed at fxq.nl
Sun Jan 1 21:10:04 UTC 2006


>Number:         91186
>Category:       ports
>Synopsis:       [net/sdl_net] Do not require 'graphics/guilib'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 01 21:10:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ed Schouten
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
n/a
>Environment:
System: FreeBSD palm.hoeg.nl 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Dec 14 21:09:01 CET 2005 root at palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386

>Description:
SDL_net is a cross-platform network library that works on lot of UNIX
and Windows based systems. It allows you to open network-sockets without
looking into winsock for example.

The FreeBSD port also builds the example chat application. The odd thing
is: the chat application requires the 'graphics/guilib' port, but the
example doesn't even get installed, which means all non-graphical
applications requiring SDL_net (daemons, etc) require xorg-libraries.

>How-To-Repeat:
Install the 'games/quake3-q3base' port with the 'WITHOUT_X11' option
set; it will still build xorg-libraries because 'net/sdl_net' depends on
it.

>Fix:
A patch for the 'net/sdl_net' port is available below:

%%%
--- net/sdl_net/Makefile	Sun Jan  1 21:56:43 2006
+++ net/sdl_net/Makefile	Sun Jan  1 21:58:24 2006
@@ -15,14 +15,13 @@
 MAINTAINER=	krion at FreeBSD.org
 COMMENT=	A small sample cross-platform networking library
 
-LIB_DEPENDS=	GUI.0:${PORTSDIR}/graphics/guilib
-
 USE_SDL=	sdl
 USE_REINPLACE=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=	libtool:13:inc
 LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
 INSTALLS_SHLIB=	yes
+CONFIGURE_ARGS=	--disable-gui
 
 post-configure:
 	@${REINPLACE_CMD} -e \
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list