Date: Tue, 8 Aug 2006 11:42:26 GMT From: Stefan Sperling <freebsd-gnats@stsp.in-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/101651: devel/sdl12 port depends on X11 libaries unconditionally Message-ID: <200608081142.k78BgQMr021778@www.freebsd.org> Resent-Message-ID: <200608081150.k78BoFHZ065836@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101651 >Category: ports >Synopsis: devel/sdl12 port depends on X11 libaries 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: Tue Aug 08 11:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stefan Sperling >Release: FreeBSD 6.1-RELEASE-p3 >Organization: >Environment: FreeBSD gurke.stsp.lan 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #3: Mon Aug 7 08:28:26 CEST 2006 stsp@gurke.stsp.lan:/usr/obj/usr/src/sys/GURKE i386 >Description: Currently, the devel/sdl12 port depends on X11 libraries unconditionally. SDL can work without X11 though, using alternative video drivers such as svgalib or vgl. Setting WITHOUT_X11=yes in /etc/make.conf has no effect on devel/sdl12, it still depends on X11 libraries. >How-To-Repeat: Set WITHOUT_X11=yes in /etc/make.conf Install SDL and note X11 libraries being installed as a dependency. >Fix: Proposed patch, tested and working for me: --- Makefile.orig Tue Aug 8 13:16:08 2006 +++ Makefile Tue Aug 8 13:23:47 2006 @@ -32,7 +32,12 @@ CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +.if !defined(WITHOUT_X11) USE_XLIB= yes +.else +PKGNAMESUFFIX= -nox11 +CONFIGURE_ARGS+=--disable-video-x11 +.endif .if !defined(NOPORTDOCS) PORTDOCS= * >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608081142.k78BgQMr021778>