CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git]
/
diffutils
/
Pkgfile
diff --git
a/diffutils/Pkgfile
b/diffutils/Pkgfile
index 519cba84936cc4789bc7f6a4accac6473b3f476c..4f5c46423ed07e17dfa2084f7543efa36811ad79 100644
(file)
--- a/
diffutils/Pkgfile
+++ b/
diffutils/Pkgfile
@@
-5,18
+5,24
@@
# Depends on:
name=diffutils
# Depends on:
name=diffutils
-version=3.
0
+version=3.
3
release=1
release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.
g
z)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.
x
z)
build() {
cd $name-$version
build() {
cd $name-$version
+
+ # fix for glibc 'gets' removal
+ sed -i -e '/gets is a/d' lib/stdio.in.h
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--mandir=$PKG/usr/man \
--disable-nls
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--mandir=$PKG/usr/man \
--disable-nls
+
make
make prefix=$PKG/usr install
make
make prefix=$PKG/usr install
+
rm -rf $PKG/usr/share
}
rm -rf $PKG/usr/share
}