commit:     fa426a81732eebf31e85e90286e19c1e1ed3fbca
Author:     Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Fri Aug  2 20:13:40 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Aug  3 14:47:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa426a81

media-gfx/alembic: fix a boost_python variable

The patch fixes an issue when USE=test is used, where the
python version suffix was not used in a variable.

Closes: https://bugs.gentoo.org/691300
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12602
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-gfx/alembic/alembic-1.7.11.ebuild            |  1 +
 ...Alembic-Tests-CMakeLists.txt-fix-variable.patch | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/media-gfx/alembic/alembic-1.7.11.ebuild 
b/media-gfx/alembic/alembic-1.7.11.ebuild
index ac081bcaddb..f23a45282d8 100644
--- a/media-gfx/alembic/alembic-1.7.11.ebuild
+++ b/media-gfx/alembic/alembic-1.7.11.ebuild
@@ -45,6 +45,7 @@ PATCHES=(
        "${FILESDIR}/${P}-0003-Fix-env-var-for-renderman.patch"
        "${FILESDIR}/${P}-0004-Fix-a-compile-issue-with-const.patch"
        "${FILESDIR}/${P}-0005-Fix-install-locations.patch"
+       
"${FILESDIR}/${P}-0006-python-PyAlembic-Tests-CMakeLists.txt-fix-variable.patch"
 )
 
 src_prepare() {

diff --git 
a/media-gfx/alembic/files/alembic-1.7.11-0006-python-PyAlembic-Tests-CMakeLists.txt-fix-variable.patch
 
b/media-gfx/alembic/files/alembic-1.7.11-0006-python-PyAlembic-Tests-CMakeLists.txt-fix-variable.patch
new file mode 100644
index 00000000000..6bb8090344f
--- /dev/null
+++ 
b/media-gfx/alembic/files/alembic-1.7.11-0006-python-PyAlembic-Tests-CMakeLists.txt-fix-variable.patch
@@ -0,0 +1,29 @@
+From 13b88370a862e16b417e9df6e40c2a9cba10852c Mon Sep 17 00:00:00 2001
+From: Bernd Waibel <wae...@gmail.com>
+Date: Fri, 2 Aug 2019 21:31:03 +0200
+Subject: [PATCH] python/PyAlembic/Tests/CMakeLists.txt: fix variable
+
+The patch fixes a boost_python related variable which didn't had
+the version suffix for python.
+
+Signed-off-by: Bernd Waibel <wae...@gmail.com>
+---
+ python/PyAlembic/Tests/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/python/PyAlembic/Tests/CMakeLists.txt 
b/python/PyAlembic/Tests/CMakeLists.txt
+index c32a018..ed9b23d 100644
+--- a/python/PyAlembic/Tests/CMakeLists.txt
++++ b/python/PyAlembic/Tests/CMakeLists.txt
+@@ -57,7 +57,7 @@ TARGET_LINK_LIBRARIES(PyAlembic_Test Alembic::Alembic 
${ALEMBIC_PYILMBASE_LIBS})
+ 
+ ADD_TEST(PyAlembic_Python_TEST PyAlembic_Test)
+ 
+-GET_FILENAME_COMPONENT(BOOST_LIBRARY_DIR ${Boost_PYTHON_LIBRARY} PATH)
++GET_FILENAME_COMPONENT(BOOST_LIBRARY_DIR ${Boost_PYTHON27_LIBRARY} PATH)
+ GET_FILENAME_COMPONENT(ILMBASE_LIBRARY_DIR ${ALEMBIC_ILMBASE_IMATH_LIB} PATH)
+ 
+ CONFIGURE_FILE(
+-- 
+2.22.0
+

Reply via email to