Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 16:03:55 +0100 (CET)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dinoex@FreeBSD.org
Subject:   ports/177477: graphics/graphviz: disable X11 when XPM option is not selected
Message-ID:  <201303291503.r2TF3tOO051070@olgeni.olgeni>
Resent-Message-ID: <201303291510.r2TFA0Y0073202@freefall.freebsd.org>

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

>Number:         177477
>Category:       ports
>Synopsis:       graphics/graphviz: disable X11 when XPM option is not selected
>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:   Fri Mar 29 15:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD olgeni 9.1-STABLE FreeBSD 9.1-STABLE #8 r248706: Mon Mar 25 17:07:45 CET 2013 root@olgeni:/usr/obj/usr/src/sys/RELENG_9.amd64 amd64
>Description:

Even when the XPM option is not selected, graphviz may still pick
up X11 dependencies if libXpm is installed. It would probably be
better to disable X11 altogether in that case.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
--- Makefile	(revision 315541)
+++ Makefile	(working copy)
@@ -141,11 +141,13 @@
 CONFIGURE_ARGS+=	--without-libiconv-prefix
 .endif
 
-.if ${PORT_OPTIONS:MXPM} || exists(${LOCALBASE}/lib/libXpm.so)
+.if ${PORT_OPTIONS:MXPM}
+CONFIGURE_ARGS+=	--with-x
 USE_XORG+=		xaw xpm xmu xt sm ice xext x11 xau xdmcp xp
 MAN1+=			dotty.1 lefty.1 lneato.1
 PLIST_SUB+=		WITH_XPM=""
 .else
+CONFIGURE_ARGS+=	--without-x
 PLIST_SUB+=		WITH_XPM="@comment "
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:



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