From nobody Thu Jul 06 20:44:41 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 4QxpRs4CVWz4l5Cm; Thu, 6 Jul 2023 20:44:41 +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 4QxpRs2Fcpz4Dpn; Thu, 6 Jul 2023 20:44:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688676281; 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=mU8lEpGassiyLEAeHw3mF6DNRKWP+mTKD/I/+F73Q2I=; b=KHOMhuS2aW0x6P5LqdhBvkTwlf921fBT3RLT9S2l+IHJiZENiGFAtzkyTprLXeUqs2dAzy 4dx6KSS+pD+HEW+/oZp6JcdlHJukpSrTpWRKuRcCKibOGClArBOYSBzhHBLZT4zgwmmExj xST/Ss0Iy3/jRv3hY/jlyN6HYVdFT4vP8FIo1dxHKePHkh5a4azz0WDgJednFHeSqte42N Ql+tvXfc26Oy1458cR9UrLotPFBJl7ZuV5SmUqJ4oAOR83C1dEQhsyGyRelMU1Xuc1lkw4 eSNVcz391QTHjJqpT0YuGG6NcKWFmO2y5r9FXMrahnmFYLK63BIKoDx57jkTMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688676281; 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=mU8lEpGassiyLEAeHw3mF6DNRKWP+mTKD/I/+F73Q2I=; b=lH1npdSipksPfdZVROyh1RoRbjHuGcJqYC89GznmPSlvD721CaeZBbklsNTgjhr4TNm/8C xGg+3HHlPV/Y0mbQ1FfxgfnNp+vHKAos2X6iSiGk8Hyqe7MVGy4VJyRZ8acq5kMnU9B3gj id98JhkpnMOfHc3Nx9nPfI01mCnqiCnbVNbrROmfclnZ7nYwD0/jGy4xNIN/GQzX07UCbZ 8GmGIth4QTqUflDev9aTLX7uw4ZCbxwrntnTUjwp7K1HsyuOLMVCyKJZxpsViVDd+VV5qq ot/zh8HOho6UbNRHNLCKFvTx/ND58Pe9l2ZuzenOP3VS2zmqaU/KtOHlJyVmrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688676281; a=rsa-sha256; cv=none; b=O9PAQsijD6fe1/s3Lk64FxqyZ2nUw7MFU74jWlYkn55eoLnw/lXtzIguhXaU5jJAUGAW2X l7/Bg0g4xdS2gs96/LbadUSo8qZV6S7zJZWVenOlgePkj0HYMHVNX7cvSLZVgbQHZyh16s b+Sny4rvliEa7kcy6abrpJ62B0Jq4fcBbLGej6bqQM+p0MrpY5LjOvzARJDJ2NuJgRe7Lw o6VgvwspGOSNfay6CJ4c/eGWeJBKTqSH47xUWnFCf1f9vgrjg8khN2cvy7HKSb45lIfC/a Vxagg466zCoANlOBg6oOZPL5c9cXtAcCACKp/rIkb+I7szjnWyBZw7imIFElMQ== 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 4QxpRs17Wxz1BLJ; Thu, 6 Jul 2023 20:44:41 +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 366Kife9013249; Thu, 6 Jul 2023 20:44:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 366KifHQ013248; Thu, 6 Jul 2023 20:44:41 GMT (envelope-from git) Date: Thu, 6 Jul 2023 20:44:41 GMT Message-Id: <202307062044.366KifHQ013248@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Rene Ladan Subject: git: ff8050cc28d8 - 2023Q3 - 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/2023Q3 X-Git-Reftype: branch X-Git-Commit: ff8050cc28d8c6e2a467d903d5f27605508da25b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q3 has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff8050cc28d8c6e2a467d903d5f27605508da25b commit ff8050cc28d8c6e2a467d903d5f27605508da25b Author: Michael Osipov AuthorDate: 2023-07-06 20:03:09 +0000 Commit: Rene Ladan CommitDate: 2023-07-06 20:43:11 +0000 graphics/graphviz: migrate to USES=ghostscript:lib PR: 270989 (cherry picked from commit dbbf45e73697231a124b467b90dc2f111c3f5cda) --- graphics/graphviz/Makefile | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index bf9a8bf286f5..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:print/${_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: