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/glibc.xibuild | |
parent | cb447620084a20be80d116c81c2e9ec110be7118 (diff) |
added PKG_VER to xibuilds
Diffstat (limited to 'repo/system/glibc.xibuild')
-rw-r--r-- | repo/system/glibc.xibuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/repo/system/glibc.xibuild b/repo/system/glibc.xibuild index 61e5a0a..557a533 100644 --- a/repo/system/glibc.xibuild +++ b/repo/system/glibc.xibuild @@ -2,16 +2,17 @@ DEPS=(glibc) -SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.xz +PKG_VER=2.34 +SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-$PKG_VER.tar.xz DESC="The main gnu C library providing basic routines and procedures" build () { # patches as recommended by lfs sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c - curl https://www.linuxfromscratch.org/patches/lfs/development/glibc-2.34-fhs-1.patch > glibc-2.34-fhs-1.patch + curl https://www.linuxfromscratch.org/patches/lfs/development/glibc-$PKG_VER-fhs-1.patch > glibc-$PKG_VER-fhs-1.patch - patch -Np1 -i glibc-2.34-fhs-1.patch + patch -Np1 -i glibc-$PKG_VER-fhs-1.patch mkdir -v build cd build |