Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 09:55:24 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433718 - head/graphics/graphviz
Message-ID:  <201702090955.v199tOqm083863@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Thu Feb  9 09:55:24 2017
New Revision: 433718
URL: https://svnweb.freebsd.org/changeset/ports/433718

Log:
  - use *_IMPLIES
  PR:		216791
  Submitted by:	Tobias Kortkamp

Modified:
  head/graphics/graphviz/Makefile

Modified: head/graphics/graphviz/Makefile
==============================================================================
--- head/graphics/graphviz/Makefile	Thu Feb  9 09:54:34 2017	(r433717)
+++ head/graphics/graphviz/Makefile	Thu Feb  9 09:55:24 2017	(r433718)
@@ -100,6 +100,7 @@ RUBY_USE=	RUBY=yes
 LUA_USES=	lua
 TCL_USES=	tcl:build
 TK_USES=	tk:build
+TK_IMPLIES=	TCL
 POPPLER_LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib
 ANN_LIB_DEPENDS=	libann.so:math/ann
 GTS_LIB_DEPENDS=	libgts.so:graphics/gts
@@ -113,23 +114,30 @@ GUILE_LIB_DEPENDS=	libguile-2.0.so:lang/
 XPM_CONFIGURE_WITH=		x
 DIGCOLA_CONFIGURE_WITH=		digcola
 IPSEPCOLA_CONFIGURE_WITH=	ipsepcola
+IPSEPCOLA_IMPLIES=		DIGCOLA
 NLS_CONFIGURE_ENABLE=		nls
 PANGOCAIRO_CONFIGURE_WITH=	pangocairo
 LIBRSVG2_CONFIGURE_WITH=	rsvg
+LIBRSVG2_IMPLIES=		PANGOCAIRO
 POPPLER_CONFIGURE_WITH=		poppler
 ANN_CONFIGURE_WITH=		ann
 ANN_CONFIGURE_ENV=	ANN_CFLAGS=-I${LOCALBASE}/include ANN_LIBS=-lann
 GTS_CONFIGURE_WITH=		gts
 GTK2_CONFIGURE_WITH=		gtk
+GTK2_IMPLIES=			PANGOCAIRO
 GDK_CONFIGURE_WITH=		gdk
 GDK_PIXBUF_CONFIGURE_WITH=	gdk-pixbuf
+GDK_PIXBUF_IMPLIES=		GTK2 GDK
 GNOMEUI_CONFIGURE_WITH=		gnomeui
+GNOMEUI_IMPLIES=		GTK2
 SMYRNA_CONFIGURE_WITH=		smyrna glade gtkgl gtkglext
+SMYRNA_IMPLIES=			GTK2 GTS
 GVEDIT_CONFIGURE_ON=		--with-gvedit=yes
 GVEDIT_CONFIGURE_OFF=		--with-qt=no
 MING_CONFIGURE_WITH=		ming
 DEVIL_CONFIGURE_WITH=		devil
 GHOSTSCRIPT_CONFIGURE_OFF=	--with-ghostscript=no
+GHOSTSCRIPT_IMPLIES=		PANGOCAIRO
 PERL_CONFIGURE_ENABLE=		perl
 PHP_CONFIGURE_ENABLE=		php
 PHP_CPPFLAGS=		-I${LOCALBASE}/include/php/Zend
@@ -172,9 +180,6 @@ BROKEN=	Ming incomplete, uses removed li
 .endif
 
 .if ${PORT_OPTIONS:MTK}
-.if empty(PORT_OPTIONS:MTCL)
-IGNORE=	option TCL is required for option TK
-.endif
 # USES=tk:build is BROKEN: Does not allow to set both tcl and tk depedencies
 BUILD_DEPENDS+=	tclsh${TCL_VER}:lang/tcl${_TCLTK_WANTED_VERSION}
 .endif
@@ -190,52 +195,6 @@ CONFIGURE_ARGS+=	--with-iconvincludedir=
 CONFIGURE_ARGS+=	--without-libiconv-prefix
 .endif
 
-.if ${PORT_OPTIONS:MLIBRSVG2}
-.if empty(PORT_OPTIONS:MPANGOCAIRO)
-IGNORE=	option PANGOCAIRO is required for option LIBRVG2
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MGHOSTSCRIPT}
-.if empty(PORT_OPTIONS:MPANGOCAIRO)
-IGNORE=	option PANGOCAIRO is required for option GHOSTSCRIPT
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MGTK2}
-.if empty(PORT_OPTIONS:MPANGOCAIRO)
-IGNORE=	option PANGOCAIRO is required for option GTK2
-.endif
-.else
-.if ${PORT_OPTIONS:MGNOMEUI}
-IGNORE=	option GTK2 is required for option GNOMEUI
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MGDK_PIXBUF}
-.if empty(PORT_OPTIONS:MGTK2)
-IGNORE=	option GTK2 is required for option GDK_PIXBUF
-.endif
-.if empty(PORT_OPTIONS:MGDK)
-IGNORE=	option GDK is required for option GDK_PIXBUF
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MSMYRNA}
-.if empty(PORT_OPTIONS:MGTK2)
-IGNORE=	option GTK2 is required for option SMYRNA
-.endif
-.if empty(PORT_OPTIONS:MGTS)
-IGNORE=	option GTS is required for option SMYRNA
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MIPSEPCOLA}
-.if empty(PORT_OPTIONS:MDIGCOLA)
-IGNORE=		option WITH_DIGCOLA is required for option WITH_IPSEPCOLA
-.endif
-.endif
-
 .if ${PORT_OPTIONS:MPERL} || ${PORT_OPTIONS:MPHP} || ${PORT_OPTIONS:MPYTHON} || \
     ${PORT_OPTIONS:MRUBY} || ${PORT_OPTIONS:MLUA} || ${PORT_OPTIONS:MTCL} || \
     ${PORT_OPTIONS:MGUILE}



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