i3: move post_patch to pre_configure
- We need the date wrapper for reproducibility.
This commit is contained in:
parent
dc21dd6c3c
commit
7a7f39d8be
1 changed files with 4 additions and 1 deletions
|
@ -21,7 +21,10 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) makedepends+=" libglob-devel";;
|
*-musl) makedepends+=" libglob-devel";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_patch() {
|
pre_configure() {
|
||||||
|
# This change must be in pre_configre because:
|
||||||
|
# - it needs to be done before configure
|
||||||
|
# - date wrapper is only available from pre-configure
|
||||||
vsed -i "s/-non-git/ ($(date --iso-8601))/" meson.build
|
vsed -i "s/-non-git/ ($(date --iso-8601))/" meson.build
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
|
|
Loading…
Add table
Reference in a new issue