Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2023 15:33:51 GMT
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c9891eb44655 - main - lang/scratch: Change *_DEPENDS to USES macros
Message-ID:  <202305101533.34AFXplo002222@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nork:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c9891eb44655e163e84365b6bc8e0a04dc46400c

commit c9891eb44655e163e84365b6bc8e0a04dc46400c
Author:     Takeshi Mutoh <takeshi.mutoh@gmail.com>
AuthorDate: 2023-05-10 15:32:27 +0000
Commit:     Norikatsu Shigemura <nork@FreeBSD.org>
CommitDate: 2023-05-10 15:32:27 +0000

    lang/scratch: Change *_DEPENDS to USES macros
    
    Pointed out by: diizzy
    Approved by:    takeshi.mutoh@gmail.com (maintainer), hrs (mentor)
---
 lang/scratch/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lang/scratch/Makefile b/lang/scratch/Makefile
index b0bcf0bd6095..8e609505dea5 100644
--- a/lang/scratch/Makefile
+++ b/lang/scratch/Makefile
@@ -12,12 +12,13 @@ LICENSE=	CC-BY-SA-3.0 GPLv2 MIT
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	pkg-config:devel/pkgconf \
-		v4l_compat>=1.0.20100321:multimedia/v4l_compat
-LIB_DEPENDS=	libpango-1.0.so:x11-toolkits/pango \
-		libv4l2.so:multimedia/libv4l
+BUILD_DEPENDS=	v4l_compat>=1.0.20100321:multimedia/v4l_compat
+LIB_DEPENDS=	libv4l2.so:multimedia/libv4l
 RUN_DEPENDS=	squeak:lang/squeak
 
+USES=		gnome pkgconfig
+USE_GNOME=	pango
+
 DESKTOP_ENTRIES=	"Scratch" \
 			"${COMMENT}" \
 			"${DATADIR}/icons/128x128/scratch.png" \



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