mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
media-libs/libiptcdata: add 1.0.5-r2 to fix compiling on Gentoo
Fix missing headers and libraries.
Compiling from inside the 'python' sub-directory doesn't set ${S} as
the top source directory, missing required headers and libraries.
[sam: Drop revbump.]
Closes: https://bugs.gentoo.org/936589
Closes: https://bugs.gentoo.org/941462
Package-Manager: portage-3.0.65-r1
Signed-off-by: Matthew White <mehw.is.me@inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/38974
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -41,6 +41,13 @@ src_prepare() {
|
||||
eautoreconf
|
||||
if use python; then
|
||||
cd python || die
|
||||
# Bug #936589: compiling from inside the 'python' sub-directory
|
||||
# might set that as the top source directory, and not ${S}, but
|
||||
# "${S}/libiptcdata" is required to find headers and libraries.
|
||||
# Symbolic linking "../libiptcdata" is a possible fix. Another
|
||||
# way is adding in python/setup.py, under iptcdata's Extension,
|
||||
# "include_dirs=['..']" and "library_dirs=['../libiptcdata']".
|
||||
ln -s "../${PN}" . || die
|
||||
distutils-r1_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user