ytnef: fix for generalized libdir

This commit is contained in:
q66 2020-12-22 22:28:32 +01:00
parent 87d28506e1
commit 04df9331eb

View file

@ -22,9 +22,7 @@ do_build() {
fi
cd ${wrksrc}/lib
make ${makejobs} DESTDIR="${DESTDIR}" install
if [ -d "${DESTDIR}/usr/lib32" ]; then
mv "${DESTDIR}/usr/lib32" "${DESTDIR}/usr/lib"
fi
mv "${DESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}" "${DESTDIR}/usr/lib"
export CFLAGS+=" -I${DESTDIR}/usr/include"
export LDFLAGS+=" -L${DESTDIR}/usr/lib"
cd ${wrksrc}