diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 02:27:41 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 02:27:41 +0000 |
commit | 91ed29d7dda0c5764bfc991985bf98adab0890f0 (patch) | |
tree | 936e59025c55e921ec06ad202991c5b66710abc2 /repo/system/binutils.xibuild | |
parent | cb447620084a20be80d116c81c2e9ec110be7118 (diff) |
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/binutils.xibuild')
-rw-r--r-- | repo/system/binutils.xibuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild index 874257c..d305d56 100644 --- a/repo/system/binutils.xibuild +++ b/repo/system/binutils.xibuild @@ -2,12 +2,13 @@ DEPS=(glib zlib elfutils) -SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz +PKG_VER=2.37 +SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-$PKG_VER.tar.xz DESC="tools for handling object files" build () { - curl https://www.linuxfromscratch.org/patches/lfs/development/binutils-2.37-upstream_fix-1.patch > binutils-2.37-upstream_fix-1.patch - patch -Np1 -i binutils-2.37-upstream_fix-1.patch + curl https://www.linuxfromscratch.org/patches/lfs/development/binutils-$PKG_VER-upstream_fix-1.patch > binutils-$PKG_VER-upstream_fix-1.patch + patch -Np1 -i binutils-$PKG_VER-upstream_fix-1.patch # An error in the building system causes the shipped man pages to be empty. Workaround the issue and remove the shipped man pages, so the man pages will be regenerated correctly: |