Date: Wed, 14 Apr 2021 17:58:45 GMT From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 07a887563d71 - main - devel/xdg-utils: optionalize X11-related dependencies Message-ID: <202104141758.13EHwjWu006557@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=07a887563d712b4055582f4b3bbf24d9edada998 commit 07a887563d712b4055582f4b3bbf24d9edada998 Author: Evgeniy Khramtsov <evgeniy@khramtsov.org> AuthorDate: 2021-04-14 17:55:26 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2021-04-14 17:58:21 +0000 devel/xdg-utils: optionalize X11-related dependencies PR: 254582 --- devel/xdg-utils/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/devel/xdg-utils/Makefile b/devel/xdg-utils/Makefile index 66b9be0fb100..aba090260986 100644 --- a/devel/xdg-utils/Makefile +++ b/devel/xdg-utils/Makefile @@ -13,9 +13,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= minixmlto:textproc/minixmlto -RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \ - xprop:x11/xprop \ - xset:x11/xset +RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme USES= gmake @@ -23,6 +21,11 @@ CONFIGURE_ENV= XMLTO=${LOCALBASE}/bin/minixmlto GNU_CONFIGURE= yes NO_ARCH= yes +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT=X11 +X11_RUN_DEPENDS=xprop:x11/xprop \ + xset:x11/xset + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/scripts/xdg-*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104141758.13EHwjWu006557>