Bug 177477 - graphics/graphviz: disable X11 when XPM option is not selected
Summary: graphics/graphviz: disable X11 when XPM option is not selected
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-29 15:10 UTC by Jimmy Olgeni
Modified: 2013-04-25 16:40 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (533 bytes, patch)
2013-03-29 15:10 UTC, Jimmy Olgeni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.