]> Kevux Git Server - rit/commitdiff
meson: fix perl dependencies
authorSam James <sam@gentoo.org>
Wed, 8 Jan 2025 03:42:37 +0000 (03:42 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Jan 2025 16:05:39 +0000 (08:05 -0800)
`generate_perl_command` needs `depends: [git_version_file]` and the uses
in top-level meson.build were fine, but the ones in perl/ weren't, causing
parallel build failures in some cases as GIT-BUILD-OPTIONS wasn't yet
available.

Signed-off-by: Sam James <sam@gentoo.org>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/FromCPAN/Mail/meson.build
perl/FromCPAN/meson.build
perl/Git/LoadCPAN/Mail/meson.build
perl/Git/LoadCPAN/meson.build
perl/Git/SVN/Memoize/meson.build
perl/Git/SVN/meson.build
perl/Git/meson.build
perl/meson.build

index 129cff1..b4ff2fc 100644 (file)
@@ -4,4 +4,5 @@ test_dependencies += custom_target(
   command: generate_perl_command,
   install: true,
   install_dir: get_option('datadir') / 'perl5/FromCPAN/Mail',
+  depends: [git_version_file],
 )
index 4e7ea90..1f9ea6c 100644 (file)
@@ -4,6 +4,7 @@ test_dependencies += custom_target(
   command: generate_perl_command,
   install: true,
   install_dir: get_option('datadir') / 'perl5/FromCPAN',
+  depends: [git_version_file],
 )
 
 subdir('Mail')
index 7da5b37..89cde56 100644 (file)
@@ -4,4 +4,5 @@ test_dependencies += custom_target(
   command: generate_perl_command,
   install: true,
   install_dir: get_option('datadir') / 'perl5/Git/LoadCPAN/Mail',
+  depends: [git_version_file],
 )
index 9468c07..1ee915c 100644 (file)
@@ -4,6 +4,7 @@ test_dependencies += custom_target(
   command: generate_perl_command,
   install: true,
   install_dir: get_option('datadir') / 'perl5/Git/LoadCPAN',
+  depends: [git_version_file],
 )
 
 subdir('Mail')
index 515ab3d..233ec67 100644 (file)
@@ -4,4 +4,5 @@ test_dependencies += custom_target(
   command: generate_perl_command,
   install: true,
   install_dir: get_option('datadir') / 'perl5/Git/SVN',
+  depends: [git_version_file],
 )
index 8338531..44abaf4 100644 (file)
@@ -14,6 +14,7 @@ foreach source : [
     command: generate_perl_command,
     install: true,
     install_dir: get_option('datadir') / 'perl5/Git/SVN',
+    depends: [git_version_file],
   )
 endforeach
 
index 259209d..b21fa55 100644 (file)
@@ -11,6 +11,7 @@ foreach source : [
     command: generate_perl_command,
     install: true,
     install_dir: get_option('datadir') / 'perl5/Git',
+    depends: [git_version_file],
   )
 endforeach
 
index c22d6f8..2d4ab1c 100644 (file)
@@ -4,6 +4,7 @@ test_dependencies += custom_target(
   command: generate_perl_command,
   install: true,
   install_dir: get_option('datadir') / 'perl5',
+  depends: [git_version_file],
 )
 
 subdir('Git')