mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
readline: update to 6.3 patchlevel 003.
This commit is contained in:
parent
9a1622133d
commit
40662e5e00
1 changed files with 8 additions and 8 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template build file for 'readline'.
|
# Template build file for 'readline'.
|
||||||
pkgname=readline
|
pkgname=readline
|
||||||
_dist_ver=6.3
|
_dist_ver=6.3
|
||||||
_patch_ver=000
|
_patch_ver=003
|
||||||
version=${_dist_ver}.${_patch_ver}
|
version=${_dist_ver}.${_patch_ver}
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc=${pkgname}-${_dist_ver}
|
wrksrc=${pkgname}-${_dist_ver}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-curses --enable-multibyte"
|
configure_args="--with-curses --enable-multibyte"
|
||||||
|
@ -21,20 +21,20 @@ LDFLAGS="-lncurses"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-${_dist_ver}-patches"
|
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-${_dist_ver}-patches"
|
||||||
|
|
||||||
|
cd ${XBPS_SRCDISTDIR}/${pkgname}-${version}
|
||||||
if [ "${_patch_ver}" -gt 000 ]; then
|
if [ "${_patch_ver}" -gt 000 ]; then
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
for p in $(seq -w 001 ${_patch_ver}); do
|
||||||
cd ${XBPS_SRCDISTDIR}
|
if [ -f readline63-${p} ]; then
|
||||||
if [ -f ${XBPS_SRCDISTDIR}/readline62-${p} ]; then
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
msg_normal " Fetching $url/readline62-$p ...\n"
|
msg_normal " Fetching $url/readline63-$p ...\n"
|
||||||
$XBPS_FETCH_CMD ${url}/readline62-$p
|
$XBPS_FETCH_CMD ${url}/readline63-$p
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
for p in $(seq -w 001 ${_patch_ver}); do
|
||||||
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/readline62-${p}
|
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/${pkgname}-${version}/readline63-${p}
|
||||||
msg_normal " Applying patch readline62-$p.\n"
|
msg_normal " Applying patch readline63-$p.\n"
|
||||||
done
|
done
|
||||||
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue