From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 10 11:50:31 2005 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 28E1F16A41F for ; Wed, 10 Aug 2005 11:50:31 +0000 (GMT) (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 44E1743D53 for ; Wed, 10 Aug 2005 11:50:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7ABoUkB006333 for ; Wed, 10 Aug 2005 11:50:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7ABoU4n006329; Wed, 10 Aug 2005 11:50:30 GMT (envelope-from gnats) Resent-Date: Wed, 10 Aug 2005 11:50:30 GMT Resent-Message-Id: <200508101150.j7ABoU4n006329@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, Carlos A M dos Santos Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AC3716A41F for ; Wed, 10 Aug 2005 11:50:00 +0000 (GMT) (envelope-from casantos@urisan.tche.br) Received: from gama-rt.urisan.tche.br (smtp.san.uri.br [200.213.37.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC1943D45 for ; Wed, 10 Aug 2005 11:49:58 +0000 (GMT) (envelope-from casantos@urisan.tche.br) Received: from urisan.tche.br (localhost.localdomain [127.0.0.1]) by gama-rt.urisan.tche.br (8.11.6p2/MS Mail 5.0.2195.6713) with SMTP id j7ABVe325948 for ; Wed, 10 Aug 2005 08:31:40 -0300 Received: by urisan.tche.br (sSMTP sendmail emulation); Wed, 10 Aug 2005 08:50:02 -0300 Message-Id: <200508101131.j7ABVe325948@gama-rt.urisan.tche.br> Date: Wed, 10 Aug 2005 08:50:02 -0300 From: Carlos A M dos Santos To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/84744: Allow user to disable libcaca in ports/multimedia/xine X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Carlos A M dos Santos List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 11:50:31 -0000 >Number: 84744 >Category: ports >Synopsis: Allow user to disable libcaca in ports/multimedia/xine >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 10 11:50:29 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Carlos A M dos Santos >Release: FreeBSD 5.4-RELEASE i386 >Organization: Universidade Regional Integrada >Environment: System: FreeBSD sophia.inf.urisan 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Mon May 16 01:34:41 BRT 2005 root@avatar.casantos.org:/share/FreeBSD/5.4-RELEASE/src/sys/i386/compile/A7N266-VM i386 >Description: The Makefile contained in ports/multimedia/xine tests for the presence of libcaca.a in the system and enables support for the corresponding feature if such library is found. The attached patch allows the uses to disable that feature by means of a variable named "WITHOUT_LIBCACA". >How-To-Repeat: N.A. >Fix: Apply the attached patch. --- multimedia::xine.patch begins here --- diff -durP ports/multimedia/xine/Makefile ports/multimedia/xine/Makefile --- ports.orig/multimedia/xine/Makefile Thu Apr 28 22:11:59 2005 +++ ports/multimedia/xine/Makefile Thu Jun 2 21:22:30 2005 @@ -72,11 +71,22 @@ CONFIGURE_ARGS+= --disable-xft .endif -.if exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA) +.if !defined(WITHOUT_LIBCACA) && (exists(${LOCALBASE}/lib/libcaca.a) || defined(WITH_LIBCACA)) PLIST_SUB+= WITH_LIBCACA="" .else PLIST_SUB+= WITH_LIBCACA="@comment " .endif + +pre-everything:: + @${ECHO_MSG} "===>" + @${ECHO_MSG} "===> You can enable some features by defining following variables." + @${ECHO_MSG} "===>" +.if defined (WITHOUT_LIBCACA) || (!exists(${LOCALBASE}/lib/libcaca.a) && !defined(WITH_LIBCACA)) + @${ECHO_MSG} "===> WITH_LIBCACA (libcaca support)" +.else + @${ECHO_MSG} "===> WITH_LIBCACA (libcaca support, enabled)" +.endif + @${ECHO_MSG} "===>" post-patch: @${REINPLACE_CMD} -e \ --- multimedia::xine.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: