From nobody Thu Jul 06 20:07:11 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qxncb3LJGz4kl8K; Thu, 6 Jul 2023 20:07:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qxncb2T0lz46nq; Thu, 6 Jul 2023 20:07:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688674031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BvdMtJV3pOz2OFH1vQV/gKm9h+GIwxMMnOCHGSY74N8=; b=hjSuPdrTMvIygZkQVQXEp3JAqDlsG7MSoVFGMSrBMaqVJTL25j4EDau/KUYXS87PFumuk+ h4tFi/yv9HswqiUBvFk7CdFoN66FhtApcRznx/kajEhixCasj8Pf+q0jRtFzp4mKJ3Xigc 8iZX0hP5BL8hzgDPut5rKQD9rISyGgvluGfOfF1ZvmsqJNm6vEjsp3ovLMRBuZMvzGd1Z+ f0kXxNT0fOSV8tUPje0ApPTxBMw1a2sb6lOPUy/ah2FSTNKjN/TfZXQWceRvS7reqZp+8V UCtMrhiTK0rtSdHE60UQTaH+NY4u+IhK49S9AWwYM+a7pGRq7VKlFi+VhzP5qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688674031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BvdMtJV3pOz2OFH1vQV/gKm9h+GIwxMMnOCHGSY74N8=; b=M8XU3MHVZfh451ewui+govUY4Eat6f58hvSRQfx8DH75JHE/dSJgVAXco1BoRKWhAUFF1v aVWd89RK41knbSWrWFjMphj46UD+IrKzgvMvE5v5sZ6NN6+TkpjBdXVC1VIYqsjZO+n8d6 GkuPxXV41mQK3Kmklqg2lX/DeA2T4kgs9X2yEaZgbfYzZS1TRGTp6TMyb0YGXJo4g3EO4p TbQxBf8ntIa8gJNfycy3J3DdKPgsLGjmbiUgNT/q8qEkSDf/AiEUtrwiFbd3rCr86l9tSO dt6dgXAh/Sm80mnYj3DEapYzc0mqEFwZrKO6nuQtZWlw6P+BdppmPUfGDi9h6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688674031; a=rsa-sha256; cv=none; b=Tj165MgqqXowaPrR6qv9PDhTwYVOWbC8Qup+FXWU6IcM69UY/DPC/5KEMrVKpwDBunh9cT RfgsUKAuyA1qe7q+l34DiTEs1pmvfM6qv4QiK3kzKN+A2jW0ECRU5DbOQ0ZMpY5n4L7ucO Ndv1Xqr1H+K30P5guDuBfAh/BfKykuj/4gQQfKnznitz3e5jUqD/VCNXrjbI3c+0mWXhLa tzv4ASQ5zAQLmCEM+qjuWvSo2+zmJyOJSv93JSX9lxSRkNz4vil2bKequzPVjRiBBAiq+p VgaTvM1C9zaaGn8x081VyOBpQX7srTxyBGbhu2yb9A8Ub/3CFfuuEUa/BY2HMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qxncb1Yvxz19F1; Thu, 6 Jul 2023 20:07:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 366K7BMv048025; Thu, 6 Jul 2023 20:07:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 366K7Bca048024; Thu, 6 Jul 2023 20:07:11 GMT (envelope-from git) Date: Thu, 6 Jul 2023 20:07:11 GMT Message-Id: <202307062007.366K7Bca048024@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: dbbf45e73697 - main - graphics/graphviz: migrate to USES=ghostscript:lib List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dbbf45e73697231a124b467b90dc2f111c3f5cda Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=dbbf45e73697231a124b467b90dc2f111c3f5cda commit dbbf45e73697231a124b467b90dc2f111c3f5cda Author: Michael Osipov AuthorDate: 2023-07-06 20:03:09 +0000 Commit: Rene Ladan CommitDate: 2023-07-06 20:03:41 +0000 graphics/graphviz: migrate to USES=ghostscript:lib PR: 270989 --- graphics/graphviz/Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index 6f7fe8668fb4..135cca7a76cf 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -90,7 +90,6 @@ GTK2_USES= gnome xorg GTK2_USE= XORG=sm,ice,xext,xinerama,xi,xrandr,xcursor,xfixes GNOME=gtk20 SMYRNA_USES= gnome gl SMYRNA_USE= GNOME=libglade2,pangox-compat,gdkpixbuf2 GL=glut,glu,gl -GHOSTSCRIPT_USES=ghostscript PERL_USES= perl5 PHP_USES= php:build gnome PHP_USE= GNOME=libxml2 @@ -100,7 +99,7 @@ RUBY_USES= ruby LUA_USES= lua TK_USES= tk:build GO_USES= go:no_targets -DOCS_USES= ghostscript:build groff +DOCS_USES= groff POPPLER_LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib ANN_LIB_DEPENDS= libann.so:math/ann @@ -112,7 +111,6 @@ GUILE_LIB_DEPENDS= libguile-2.2.so:lang/guile2 \ libgc-threaded.so:devel/boehm-gc-threaded PHP_LIB_DEPENDS= libpcre.so:devel/pcre \ libargon2.so:security/libargon2 -GHOSTSCRIPT_LIB_DEPENDS= libgs.so:${_GS_PORT} XPM_CONFIGURE_WITH= x XPM_CONFIGURE_ENV= ac_cv_header_sys_inotify_h=no @@ -225,6 +223,18 @@ CONFIGURE_ARGS+= --disable-swig CONFIGURE_ENV+= SWIG="/nonexistent" .endif +.if ${PORT_OPTIONS:MGHOSTSCRIPT} +USES_GHOSTSCRIPT_ARGS+= lib +.endif + +.if ${PORT_OPTIONS:MDOCS} +USES_GHOSTSCRIPT_ARGS+= build +.endif + +.if defined(USES_GHOSTSCRIPT_ARGS) +USES+= ghostscript:${USES_GHOSTSCRIPT_ARGS:ts,} +.endif + .include post-patch: