From 91ed29d7dda0c5764bfc991985bf98adab0890f0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 02:27:41 +0000 Subject: added PKG_VER to xibuilds --- repo/system/glibc.xibuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'repo/system/glibc.xibuild') 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 -- cgit v1.2.1