Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2007 14:28:42 -0500 (EST)
From:      "D'Arcy J.M.Cain" <darcy@dilbert.druid.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108778: Building py-gd tries to pull in X even when WITHOUT_X11 is defined
Message-ID:  <20070204235726.A036F11FF1A9@dilbert.druid.net>
Resent-Message-ID: <200702050020.l150KReq072281@freefall.freebsd.org>

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

>Number:         108778
>Category:       ports
>Synopsis:       Building py-gd tries to pull in X even when WITHOUT_X11 is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 05 00:20:24 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     D'Arcy J.M. Cain
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dilbert.druid.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


	
>Description:
Building py-gd tries to pull in X even when WITHOUT_X11 is defined
	
>How-To-Repeat:
On a machine without X and WITHOUT_X11 defined build graphics/py-gd
	
>Fix:
Looks like a test is reversed.  This should fix it.

Index: graphics/py-gd/Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/py-gd/Makefile,v
retrieving revision 1.23
diff -u -p -u -r1.23 Makefile
--- graphics/py-gd/Makefile     7 May 2006 23:46:23 -0000       1.23
+++ graphics/py-gd/Makefile     29 Jan 2007 19:18:39 -0000
@@ -16,7 +16,7 @@ COMMENT=      Python interface to the GD libr

 LIB_DEPENDS=   gd.4:${PORTSDIR}/graphics/gd

-.if defined(WITHOUT_X11)
+.if !defined(WITHOUT_X11)
 USE_XPM=       yes
 .endif
 USE_PYTHON=    yes

	


>Release-Note:
>Audit-Trail:
>Unformatted:



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