bc fix (thx debian)
This commit is contained in:
1 parent
6d037ca89e
commit
b0343c62c5
1 file changed
+7
-3
@@ -7,18 +7,18 @@ description='Handy console-based calculator utility'
|
|||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://ftp.gnu.org/gnu/bc/bc-$version.tar.gz"
|
source=("https://salsa.debian.org/debian/bc/-/archive/debian/$version.1-3/bc-debian-$version.1-3.tar.gz"
|
||||||
"https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch")
|
"https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/bc/files/bc-1.07.1-no-ed-its-sed.patch")
|
||||||
depends=(readline)
|
depends=(readline)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
md5sums=('e91638a947beadabf4d7770bdbb3d512'
|
md5sums=('88f3760aeddf374a849ca4518540960b'
|
||||||
'a7bdd642f30ae47ee5bcbcf3f65e061b')
|
'a7bdd642f30ae47ee5bcbcf3f65e061b')
|
||||||
group=(sys.devel)
|
group=(sys.devel)
|
||||||
uses=()
|
uses=()
|
||||||
uses_extra=(static)
|
uses_extra=(static)
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-debian-$version.1-3
|
||||||
|
|
||||||
if use static ; then
|
if use static ; then
|
||||||
export CFLAGS="-static"
|
export CFLAGS="-static"
|
||||||
@@ -31,9 +31,13 @@ prepare(){
|
|||||||
echo "printf 'makeinfo (GNU texinfo) 5.2\n'" >> $HOME/makeinfo
|
echo "printf 'makeinfo (GNU texinfo) 5.2\n'" >> $HOME/makeinfo
|
||||||
chmod +x $HOME/makeinfo
|
chmod +x $HOME/makeinfo
|
||||||
patch -Np1 -i ../bc-1.07.1-no-ed-its-sed.patch
|
patch -Np1 -i ../bc-1.07.1-no-ed-its-sed.patch
|
||||||
|
for file in debian/patches/*.diff ; do
|
||||||
|
patch -Np1 -i $file
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64/ \
|
--libdir=/usr/lib64/ \
|
||||||
--with-readline
|
--with-readline
|
||||||
|
|||||||
Reference in new issue
Block a user