public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-i18n/opencc/files: opencc-0.3.0_pre20120819-cmake-libdir.patch
@ 2012-10-17  2:10 Naohiro Aota (naota)
  0 siblings, 0 replies; only message in thread
From: Naohiro Aota (naota) @ 2012-10-17  2:10 UTC (permalink / raw
  To: gentoo-commits

naota       12/10/17 02:10:11

  Added:                opencc-0.3.0_pre20120819-cmake-libdir.patch
  Log:
  Revbump to fix pkgconfig file.
  
  (Portage version: 2.2.0_alpha137/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/opencc/files/opencc-0.3.0_pre20120819-cmake-libdir.patch?rev=1.1&content-type=text/plain

Index: opencc-0.3.0_pre20120819-cmake-libdir.patch
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,11 +70,11 @@ set (DIR_SHARE ${DIR_PREFIX}/share)
 set (DIR_BIN ${DIR_PREFIX}/bin)
 set (DIR_ETC ${DIR_PREFIX}/etc)
 
 if (DEFINED CMAKE_INSTALL_LIBDIR)
-	set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR})
-	set (DIR_LIBRARY_STATIC ${CMAKE_INSTALL_LIBDIR})
+	set (DIR_LIBRARY ${DIR_PREFIX}/${CMAKE_INSTALL_LIBDIR})
+	set (DIR_LIBRARY_STATIC ${DIR_PREFIX}/${CMAKE_INSTALL_LIBDIR})
 endif (DEFINED CMAKE_INSTALL_LIBDIR)
 
 if (DEFINED SHARE_INSTALL_PREFIX)
 	set (DIR_SHARE ${SHARE_INSTALL_PREFIX})
 endif (DEFINED SHARE_INSTALL_PREFIX)





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-17  2:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17  2:10 [gentoo-commits] gentoo-x86 commit in app-i18n/opencc/files: opencc-0.3.0_pre20120819-cmake-libdir.patch Naohiro Aota (naota)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox