|
|
@ -23,8 +23,9 @@ |
|
|
|
|
|
|
|
libdir="$root/$multilib" |
|
|
|
|
|
|
|
var_append extraconfopt " " '--libdir=$libdir --with-root-prefix=$instroot/' |
|
|
|
var_append extraconfopt " " 'enable-fsck --enable-elf-shlibs --disable-evms' |
|
|
|
var_append extraconfopt " " '--with-root-prefix=$instroot/' |
|
|
|
var_append extraconfopt " " '--enable-fsck --enable-elf-shlibs --disable-evms' |
|
|
|
# var_append extraconfopt " " '--with-cc="$CC" --with-linker="$LD"' |
|
|
|
|
|
|
|
if [ "$ROCKCFG_DIETLIBC_e2fsprogs" == "1" ] ; then |
|
|
|
var_append extraconfopt " " "--with-diet-libc" |
|
|
@ -32,10 +33,14 @@ if [ "$ROCKCFG_DIETLIBC_e2fsprogs" == "1" ] ; then |
|
|
|
var_append extraconfopt " " "--enable-dynamic-e2fsck" |
|
|
|
fi |
|
|
|
|
|
|
|
hook_add premake 3 "chmod -v 0755 configure ; \ |
|
|
|
cp -v configure{,.orig} ; \ |
|
|
|
sed -e \"/libdir=.*\/lib/s@/lib@/$multilib@g\" configure.orig > configure" |
|
|
|
|
|
|
|
# if you are brave, try without this and fix it... |
|
|
|
LD="$CC" |
|
|
|
|
|
|
|
# somehow "make install" seems not to exectue install-libs, which |
|
|
|
# somehow "make install" seems not to execute install-libs, which |
|
|
|
# is needed to get the headers installed (and static libraries also) |
|
|
|
var_append makeinstopt ' ' "install-libs" |
|
|
|
postinstall="install -m 0644 ${confdir}/e2fsck.conf $sysconfdir" |