aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-04-28 22:59:48 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-04-28 23:04:50 +0000
commitc9b88594bccb751c033790bcc35c7a02b25ce3b6 (patch)
treee10e365e253c022f7b904fe848651a7a3a09f9db /x11-wm
parentf0bc8dadb0f7aa8e9f52848ef54bc4425056a4f2 (diff)
downloadports-c9b88594bccb751c033790bcc35c7a02b25ce3b6.tar.gz
ports-c9b88594bccb751c033790bcc35c7a02b25ce3b6.zip
x11-wm/hyprland: simplify GIT_COMMIT_MESSAGE after da134084ee1e
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/hyprland-devel/Makefile2
-rw-r--r--x11-wm/hyprland/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/hyprland-devel/Makefile b/x11-wm/hyprland-devel/Makefile
index 59142f4c05d2..f3c69cfe63f7 100644
--- a/x11-wm/hyprland-devel/Makefile
+++ b/x11-wm/hyprland-devel/Makefile
@@ -44,7 +44,7 @@ post-patch:
# Extract (snapshot) version from the port instead of meson.build
@${REINPLACE_CMD} -i .nogit -e "/GIT_BRANCH/s/run_command.*/'main'/" \
-e "/GIT_COMMIT_HASH/s/run_command.*/'${DISTVERSIONFULL}'/" \
- -e "/GIT_COMMIT_MESSAGE/s/run_command.*/'?'/" \
+ -e "/GIT_COMMIT_MESSAGE/d" \
-e "/GIT_DIRTY/s/run_command.*/'portbld'/" \
-e "/version.*jq/s/run_command.*/'${DISTVERSIONFULL}',/" \
${WRKSRC}/meson.build
diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile
index ae1f42316f7a..c1e6919c4302 100644
--- a/x11-wm/hyprland/Makefile
+++ b/x11-wm/hyprland/Makefile
@@ -48,7 +48,7 @@ post-patch:
# Extract (snapshot) version from the port instead of meson.build
@${REINPLACE_CMD} -i .nogit -e "/GIT_BRANCH/s/run_command.*/'main'/" \
-e "/GIT_COMMIT_HASH/s/run_command.*/'${DISTVERSIONFULL}'/" \
- -e "/GIT_COMMIT_MESSAGE/s/run_command.*/'?'/" \
+ -e "/GIT_COMMIT_MESSAGE/d" \
-e "/GIT_DIRTY/s/run_command.*/'portbld'/" \
-e "/version.*jq/s/run_command.*/'${DISTVERSIONFULL}',/" \
${WRKSRC}/meson.build