ports/177477: graphics/graphviz: disable X11 when XPM option is not selected

Jimmy Olgeni olgeni at FreeBSD.org
Fri Mar 29 15:10:00 UTC 2013


>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 at 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:


More information about the freebsd-ports-bugs mailing list