libdir fixes
This commit is contained in:
1 parent
4e4707a54c
commit
9d223fa7dd
44 files changed
+105
-63
No files matched your search
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/gdbm \
|
||||
--enable-libgdbm-compat
|
||||
}
|
||||
|
||||
@@ -29,5 +29,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/gdbm/" > ${DESTDIR}/etc/ld.so.conf.d/gdbm.conf
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ cd $name-$version
|
||||
setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/libcap-ng \
|
||||
$(use_opt python --with-python --without-python) \
|
||||
$(use_opt python --with-python3 --without-python3)
|
||||
}
|
||||
@@ -33,5 +33,6 @@ build(){
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libcap-ng/" > ${DESTDIR}/etc/ld.so.conf.d/libcap-ng.conf
|
||||
}
|
||||
|
||||
@@ -18,10 +18,11 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64 prefix=/usr
|
||||
make DYNAMIC=yes KERNEL_HEADERS=/usr/include lib=lib64/libcap prefix=/usr
|
||||
}
|
||||
|
||||
package(){
|
||||
make RAISE_SETFCAP=no lib=lib64 prefix=/usr install
|
||||
make RAISE_SETFCAP=no lib=lib64/libcap prefix=/usr install
|
||||
echo "/usr/lib64/libcap/" > ${DESTDIR}/etc/ld.so.conf.d/libcap.conf
|
||||
}
|
||||
|
||||
@@ -25,12 +25,12 @@ prepare(){
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/libxcrypt \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc
|
||||
cd ../$name-compat
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64 \
|
||||
--libdir=/usr/lib64/libxcrypt \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no
|
||||
}
|
||||
@@ -45,6 +45,7 @@ package(){
|
||||
make install -j`nproc`
|
||||
cd ../$name-compat
|
||||
make install -j`nproc`
|
||||
echo "/usr/lib64/libxcrypt/" > ${DESTDIR}/etc/ld.so.conf.d/libxcrypt.conf
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ cd Linux-PAM-$version
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--sbindir=/sbin \
|
||||
--libdir=/lib64/pam \
|
||||
--libdir=/lib64 \
|
||||
--enable-securedir=/lib64/security \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
@@ -38,7 +38,6 @@ package(){
|
||||
rm -rf ${DESTDIR}/usr/lib/systemd/
|
||||
# ld.so.conf
|
||||
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
|
||||
echo "/lib64/pam/" > ${DESTDIR}/etc/ld.so.conf.d/pam.conf
|
||||
mv ${DESTDIR}/lib64/pam/pkgconfig ${DESTDIR}/lib64/pkgconfig
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user