From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 4 23:40:22 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DA1316A4EA for ; Mon, 4 Sep 2006 23:40:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C940343D58 for ; Mon, 4 Sep 2006 23:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k84NeKiH069370 for ; Mon, 4 Sep 2006 23:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k84NeKQs069362; Mon, 4 Sep 2006 23:40:20 GMT (envelope-from gnats) Resent-Date: Mon, 4 Sep 2006 23:40:20 GMT Resent-Message-Id: <200609042340.k84NeKQs069362@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stefan Sperling Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B81DC16A4DE for ; Mon, 4 Sep 2006 23:33:34 +0000 (UTC) (envelope-from stsp@stsp.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 166AC43D46 for ; Mon, 4 Sep 2006 23:33:33 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) Received: from stsp.lan (port-212-202-170-172.dynamic.qsc.de [212.202.170.172]) (authenticated bits=128) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id k84NXUJi020108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 5 Sep 2006 01:33:32 +0200 Received: from gurke.stsp.lan (localhost [127.0.0.1]) by stsp.lan (8.13.6/8.13.6) with ESMTP id k84NW61l069565 for ; Tue, 5 Sep 2006 01:32:06 +0200 (CEST) (envelope-from stsp@gurke.stsp.lan) Received: (from stsp@localhost) by gurke.stsp.lan (8.13.6/8.13.6/Submit) id k84NW5EE069564; Tue, 5 Sep 2006 01:32:05 +0200 (CEST) (envelope-from stsp) Message-Id: <200609042332.k84NW5EE069564@gurke.stsp.lan> Date: Tue, 5 Sep 2006 01:32:05 +0200 (CEST) From: Stefan Sperling To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/102873: graphics/sdl_ttf depends on GL unconditionally X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stefan Sperling List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 23:40:22 -0000 >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@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: