diff options
author | Owen Solberg <odoublewen@users.noreply.github.com> | 2019-02-27 14:02:25 -0800 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-02-27 16:02:25 -0600 |
commit | fac2dbda078ce548b4746a5f6f07a1300c537e23 (patch) | |
tree | 52e14eff690a2524ed4e7f9adc4b971737834786 /var | |
parent | a25edb51a9d1aea3c54b412ccc55ac96e36ed932 (diff) | |
download | spack-fac2dbda078ce548b4746a5f6f07a1300c537e23.tar.gz spack-fac2dbda078ce548b4746a5f6f07a1300c537e23.tar.bz2 spack-fac2dbda078ce548b4746a5f6f07a1300c537e23.tar.xz spack-fac2dbda078ce548b4746a5f6f07a1300c537e23.zip |
git-lfs: patch Makefile for v2.7.0 (#10720)
Fixes #10702
Same fix merged upstream in git-lfs/git-lfs#3545 -- it may appear
in future release v2.7.2 according to package maintainer.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/git-lfs/package.py | 2 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/git-lfs/patches/issue-10702.patch | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/git-lfs/package.py b/var/spack/repos/builtin/packages/git-lfs/package.py index b6c4020dd3..98b52fba0c 100644 --- a/var/spack/repos/builtin/packages/git-lfs/package.py +++ b/var/spack/repos/builtin/packages/git-lfs/package.py @@ -22,6 +22,8 @@ class GitLfs(MakefilePackage): depends_on('go@1.5:', type='build') depends_on('git@1.8.2:', type='run') + patch('patches/issue-10702.patch', when='@2.7.0') + parallel = False # Git-lfs does not provide an 'install' target in the Makefile diff --git a/var/spack/repos/builtin/packages/git-lfs/patches/issue-10702.patch b/var/spack/repos/builtin/packages/git-lfs/patches/issue-10702.patch new file mode 100644 index 0000000000..aad2fe5a04 --- /dev/null +++ b/var/spack/repos/builtin/packages/git-lfs/patches/issue-10702.patch @@ -0,0 +1,12 @@ +--- git-lfs-2.7.0/Makefile 2019-02-15 09:46:44.000000000 -0800 ++++ git-lfs-2.7.0_patched/Makefile 2019-02-25 15:29:41.000000000 -0800 +@@ -29,7 +29,9 @@ + endif + # EXTRA_LD_FLAGS are given by the caller, and are passed to the Go linker after + # BUILTIN_LD_FLAGS are processed. By default the system LDFLAGS are passed. ++ifdef LDFLAGS + EXTRA_LD_FLAGS ?= -extldflags ${LDFLAGS} ++endif + # LD_FLAGS is the union of the above two BUILTIN_LD_FLAGS and EXTRA_LD_FLAGS. + LD_FLAGS = $(BUILTIN_LD_FLAGS) $(EXTRA_LD_FLAGS) + |