git: 07a887563d71 - main - devel/xdg-utils: optionalize X11-related dependencies
Tobias C. Berner
tcberner at FreeBSD.org
Wed Apr 14 17:58:46 UTC 2021
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07a887563d712b4055582f4b3bbf24d9edada998
commit 07a887563d712b4055582f4b3bbf24d9edada998
Author: Evgeniy Khramtsov <evgeniy at khramtsov.org>
AuthorDate: 2021-04-14 17:55:26 +0000
Commit: Tobias C. Berner <tcberner at 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-*
More information about the dev-commits-ports-all
mailing list