View | Details | Raw Unified
Collapse All | Expand All

(-) rpm-4.2.ebuild (-2 / +9 lines)
 Lines 28-33    Link Here 
	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() {
 Lines 58-64    Link Here 
	# 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*
 Lines 87-93    Link Here 
	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() {