summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-08 22:39:25 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-08 23:10:47 +0200
commit2b10ea3bbf80c3d0b7951c2e63569047ec1e45ac (patch)
treebb56179f1393a1f55855dda8ae3b33285088f66c /media-libs/vigra/files
parentmedia-libs/vigra: Add missing USE openexr dependency (diff)
downloadgentoo-2b10ea3bbf80c3d0b7951c2e63569047ec1e45ac.tar.gz
gentoo-2b10ea3bbf80c3d0b7951c2e63569047ec1e45ac.tar.bz2
gentoo-2b10ea3bbf80c3d0b7951c2e63569047ec1e45ac.zip
media-libs/vigra: Drop last use of LIBDIR_SUFFIX
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/vigra/files')
-rw-r--r--media-libs/vigra/files/vigra-1.11.1-lib_suffix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-libs/vigra/files/vigra-1.11.1-lib_suffix.patch b/media-libs/vigra/files/vigra-1.11.1-lib_suffix.patch
new file mode 100644
index 000000000000..2b4b90df348f
--- /dev/null
+++ b/media-libs/vigra/files/vigra-1.11.1-lib_suffix.patch
@@ -0,0 +1,29 @@
+LIBDIR_SUFFIX is only used in one location, while LIB_SUFFIX is set already.
+
+--- a/config/vigra-config.in 2017-05-19 17:01:08.000000000 +0200
++++ b/config/vigra-config.in 2019-04-08 22:33:18.938060195 +0200
+@@ -68,7 +68,7 @@
+ if op.impex_lib: # was: --impex_lib|--impex-lib|--libs
+ ldflags = []
+
+- libDir = '@CMAKE_INSTALL_PREFIX@/lib@LIBDIR_SUFFIX@'
++ libDir = '@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@'
+ if libDir not in standardLibDirs:
+ ldflags.append('-L' + libDir)
+
+--- a/config/VigraSetDefaults.cmake 2017-05-19 17:01:08.000000000 +0200
++++ b/config/VigraSetDefaults.cmake 2019-04-08 22:33:09.361974643 +0200
+@@ -59,13 +59,6 @@
+ CACHE BOOL "Perform valgrind memory testing upon 'make ctest' ?"
+ FORCE)
+
+-IF(NOT DEFINED LIBDIR_SUFFIX)
+- SET(LIBDIR_SUFFIX "")
+-ENDIF()
+-SET(LIBDIR_SUFFIX ${LIBDIR_SUFFIX}
+- CACHE STRING "Define suffix of lib directory name (empty string or 32 or 64)."
+- FORCE)
+-
+ IF(NOT DEFINED DEPENDENCY_SEARCH_PREFIX)
+ SET(DEPENDENCY_SEARCH_PREFIX "")
+ ENDIF()