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
automake: updated to 1.15 and updated mandir
[crossrootfs.git]
/
shadow
/
Pkgfile
diff --git
a/shadow/Pkgfile
b/shadow/Pkgfile
index d570a5e502a023bb4fcf6ba066e0a1d0bc14dfb2..7a99338257bc0a6463094c00d75c16624ed36ab9 100644
(file)
--- a/
shadow/Pkgfile
+++ b/
shadow/Pkgfile
@@
-7,7
+7,7
@@
name=shadow
version=4.1.5.1
release=3
name=shadow
version=4.1.5.1
release=3
-source=(http://
pkg-shadow.alioth.debian.org/releases/$name-$version.tar.bz2 \
+source=(http://
ftp.cross-lfs.org/pub/clfs/conglomeration/shadow/$name-$version.tar.bz2
pwck login.defs)
build() {
pwck login.defs)
build() {
@@
-15,6
+15,9
@@
build() {
echo "ac_cv_func_setpgrp_void=yes" >> config.cache
echo "ac_cv_func_setpgrp_void=yes" >> config.cache
+ # Fix first configure to point to the right place
+ sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i aclocal.m4
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
@@
-28,6
+31,9
@@
build() {
--without-audit \
--cache-file=config.cache
--without-audit \
--cache-file=config.cache
+ # Forcing libtool to prioritize our sysroot
+ sed "s|lt_sysroot=|lt_sysroot=$CLFS|g" -i libtool
+
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install