summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2017-06-14 10:07:15 +0159
committerMarek Szuba <marecki@gentoo.org>2017-06-14 10:08:54 +0159
commit364c62714143099e12673aea2785c2648ea5dd00 (patch)
tree286b46c0a0a24975b2de836756277184c43a1076 /dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch
parentdev-perl/AnyEvent: Fix for '.' in @INC re bug #614640 (diff)
downloadgentoo-364c62714143099e12673aea2785c2648ea5dd00.tar.gz
gentoo-364c62714143099e12673aea2785c2648ea5dd00.tar.bz2
gentoo-364c62714143099e12673aea2785c2648ea5dd00.zip
dev-libs/beignet: add live ebuild
Closes: 4918 Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch')
-rw-r--r--dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch b/dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch
new file mode 100644
index 000000000000..983ba61ff38f
--- /dev/null
+++ b/dev-libs/beignet/files/beignet-1.4.0_no-debian-multiarch.patch
@@ -0,0 +1,21 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,15 +33,9 @@
+
+ SET(CMAKE_VERBOSE_MAKEFILE "false")
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake/")
+-INCLUDE (GNUInstallDirs OPTIONAL)
+-# support old CMake without GNUInstallDirs
+-if (NOT CMAKE_INSTALL_FULL_LIBDIR)
+- set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
+- set (CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_PREFIX}/share")
+- set (BEIGNET_LIBRARY_ARCHITECTURE "")
+-else (NOT CMAKE_INSTALL_FULL_LIBDIR)
+- set (BEIGNET_LIBRARY_ARCHITECTURE "${CMAKE_LIBRARY_ARCHITECTURE}")
+-endif (NOT CMAKE_INSTALL_FULL_LIBDIR)
++set (CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
++set (CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_PREFIX}/share")
++set (BEIGNET_LIBRARY_ARCHITECTURE "")
+
+ if (NOT LIB_INSTALL_DIR)
+ set (LIB_INSTALL_DIR "${CMAKE_INSTALL_FULL_LIBDIR}")