aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorarrowd <arrowd@FreeBSD.org>2019-07-21 22:59:17 +0800
committerarrowd <arrowd@FreeBSD.org>2019-07-21 22:59:17 +0800
commit53e7fefa60ae6c950b53628056420e5e43e95d47 (patch)
tree720612f52e55386eec4d92f65dd157f80f1d78f1 /Mk
parent7f6e020f4738683dae6a32d0ecd6a470e69d34cf (diff)
downloadfreebsd-ports-gnome-53e7fefa60ae6c950b53628056420e5e43e95d47.tar.gz
freebsd-ports-gnome-53e7fefa60ae6c950b53628056420e5e43e95d47.tar.zst
freebsd-ports-gnome-53e7fefa60ae6c950b53628056420e5e43e95d47.zip
Make `make-use-cabal` aux target output an item per line.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/cabal.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk
index e7fd578d43c2..80c9cfd83f7d 100644
--- a/Mk/Uses/cabal.mk
+++ b/Mk/Uses/cabal.mk
@@ -107,7 +107,8 @@ cabal-extract-deps:
# Generates USE_CABAL= ... line ready to be pasted into the port based on artifacts of cabal-extract-deps.
make-use-cabal:
@echo ====================
- @find ${CABAL_HOME} -name '*.conf' -exec basename {} + | sed -E 's|-[0-9a-z]{64}\.conf||' | sort | xargs echo -n USE_CABAL= && echo
+ @echo -n USE_CABAL=
+ @find ${CABAL_HOME} -name '*.conf' -exec basename {} + | sed -E 's|-[0-9a-z]{64}\.conf||' | sort | sed 's/$$/ \\/'
# Checks USE_CABAL items that have revisions.
check-revs: