From tlp@liquidx.org  Wed Feb  8 18:16:24 2006
Return-Path: <tlp@liquidx.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BEB7E16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Feb 2006 18:16:24 +0000 (GMT)
	(envelope-from tlp@liquidx.org)
Received: from illusionist.sov.kewlio.net.uk (fxp-0.712-illusionist.sov.kewlio.net.uk [85.116.0.25])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 373D043D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  8 Feb 2006 18:16:21 +0000 (GMT)
	(envelope-from tlp@liquidx.org)
Received: from lickwid.net (root@71-37-175-10.bois.qwest.net [71.37.175.10])
	(authenticated bits=128 user=tlp)
	by illusionist.sov.kewlio.net.uk (8.13.4/8.13.4) with ESMTP id k18IGHNM056885
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)   
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Feb 2006 18:16:19 GMT
Received: from [192.168.0.18] ([192.168.0.18])
	by lickwid.net (8.13.4/8.13.4) with ESMTP id k18IGFbN057802
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 8 Feb 2006 11:16:15 -0700 (MST)
	(envelope-from tlp@liquidx.org)
Message-Id: <200602081116.14402.tlp@liquidx.org>
Date: Wed, 8 Feb 2006 11:16:14 -0700
From: Travis Poppe <tlp@liquidx.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [UPDATE]: graphics/libcaca - Fix WITHOUT_X11 dependencies.

>Number:         93047
>Category:       ports
>Synopsis:       [UPDATE]: graphics/libcaca - Fix WITHOUT_X11 dependencies.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 08 18:20:03 GMT 2006
>Closed-Date:    Sat Feb 11 12:14:29 GMT 2006
>Last-Modified:  Sat Feb 11 12:14:29 GMT 2006
>Originator:     Travis Poppe
>Release:        
>Organization:
>Environment:
>Description:
The libcaca port unnecessarily disables imlib2 if WITHOUT_X11 is defined . This
breaks support for viewing non-BMP images. Since imlib2 itself can be built 
without X11 support, I've patched libcaca to reflect this.

>How-To-Repeat:
>Fix:
--- Makefile.orig	Wed Feb  8 11:07:55 2006
+++ Makefile	Wed Feb  8 11:09:39 2006
@@ -6,7 +6,7 @@
 
 PORTNAME=	libcaca
 PORTVERSION=	0.9
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	http://sam.zoy.org/projects/libcaca/
 
@@ -23,14 +23,14 @@
 MAN1=		caca-config.1 cacademo.1 cacaview.1
 
 .if defined(WITHOUT_X11)
-CONFIGURE_ARGS+=	--disable-imlib2 --disable-x11
+CONFIGURE_ARGS+=	--disable-x11
 .else
 USE_XLIB=	yes
+.endif
 .if defined(WITHOUT_IMLIB2)
 CONFIGURE_ARGS+=	--disable-imlib2
 .else
 LIB_DEPENDS+=		Imlib2.3:${PORTSDIR}/graphics/imlib2
-.endif
 .endif
 
 .include <bsd.port.pre.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Sat Feb 11 12:14:28 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93047 
>Unformatted:
