Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Jan 2006 22:08:09 +0100 (CET)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91186: [net/sdl_net] Do not require 'graphics/guilib'
Message-ID:  <20060101210809.B6E3A1712B@palm.hoeg.nl>
Resent-Message-ID: <200601012110.k01LA3SO092056@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060101210809.B6E3A1712B>