|
|
unpack ${A} | unpack ${A} |
epatch ${FILESDIR}/rpm-4.2-python2.3.diff | epatch ${FILESDIR}/rpm-4.2-python2.3.diff |
epatch ${FILESDIR}/rpm-4.2-pic.patch | epatch ${FILESDIR}/rpm-4.2-pic.patch |
|
|
|
# Disable the configue scripts handling of multilib libdirs |
|
# since econf already sets --libdir correctly |
|
sed -i -e 's:MARK64=64:MARK64=:' \ |
|
${S}/{,file,popt,beecrypt}/configure || die "sed failed" |
|
sed -i -e 's:$(libdir)/rpm:$(prefix)/lib/rpm:' \ |
|
${S}/Makefile.in || die "sed failed" |
} | } |
| |
src_compile() { | src_compile() { |
|
|
# There is a /usr/lib/rpm/rpmpopt-4.1 now | # There is a /usr/lib/rpm/rpmpopt-4.1 now |
# the symlink is still created incorrectly. ??? | # the symlink is still created incorrectly. ??? |
rm -f ${D}/usr/lib/rpmpopt | rm -f ${D}/usr/lib/rpmpopt |
rm -f ${D}/usr/lib/libpopt* |
rm -f ${D}/usr/$(get_libdir)/libpopt* |
rm -f ${D}/usr/include/popt.h | rm -f ${D}/usr/include/popt.h |
use nls && rm -f ${D}/usr/share/locale/*/LC_MESSAGES/popt.mo | use nls && rm -f ${D}/usr/share/locale/*/LC_MESSAGES/popt.mo |
rm -f ${D}/usr/share/man/man3/popt* | rm -f ${D}/usr/share/man/man3/popt* |
|
|
fi | fi |
| |
python_version | python_version |
python_mod_optimize /usr/lib/python${PYVER}/site-packages/rpmdb |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/rpmdb |
} | } |
| |
pkg_postrm() { | pkg_postrm() { |