Bug 177477

Summary: graphics/graphviz: disable X11 when XPM option is not selected
Product: Ports & Packages Reporter: Jimmy Olgeni <olgeni>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me CC: dinoex
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jimmy Olgeni freebsd_committer freebsd_triage 2013-03-29 15:10:00 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-29 15:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-04-25 16:36:32 UTC
Author: dinoex
Date: Thu Apr 25 15:36:19 2013
New Revision: 316521
URL: http://svnweb.freebsd.org/changeset/ports/316521

Log:
  - support to build without XPM even if it is installed
  PR:		177477
  Submitted by:	Jimmy Olgeni

Modified:
  head/graphics/graphviz/Makefile

Modified: head/graphics/graphviz/Makefile
==============================================================================
--- head/graphics/graphviz/Makefile	Thu Apr 25 15:24:22 2013	(r316520)
+++ head/graphics/graphviz/Makefile	Thu Apr 25 15:36:19 2013	(r316521)
@@ -141,11 +141,13 @@ CONFIGURE_ARGS+=	--with-iconvincludedir=
 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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2013-04-25 16:36:47 UTC
State Changed
From-To: open->closed

committed, thanks.