[Pkg-privacy-commits] [irssi-plugin-otr] 33/267: Added build support for LIB_SUFFIX as required on fedora.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.
commit f39e7536a8b9e79624689cdb065308acbe7c25a5
Author: Uli Meis <a.sporto+bee at gmail.com>
Date: Wed Aug 20 21:38:09 2008 +0200
Added build support for LIB_SUFFIX as required on fedora.
Thanks to Konrad Meyer for the patch!
---
CMakeLists.txt | 2 +-
Packaging-DEB.cmake | 2 +-
Packaging-RPM.cmake | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0d93cac..8e21e29 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -226,6 +226,6 @@ IF(CMAKE_INSTALL_TYPE MATCHES "package-.*")
ELSEIF(CMAKE_INSTALL_TYPE MATCHES "home")
INSTALL(TARGETS otr DESTINATION "$ENV{HOME}/.irssi/modules")
ELSE(CMAKE_INSTALL_TYPE MATCHES "package-.*")
- INSTALL(TARGETS otr DESTINATION lib/irssi/modules)
+ INSTALL(TARGETS otr DESTINATION lib${LIB_SUFFIX}/irssi/modules)
INSTALL(FILES README LICENSE DESTINATION ${DOCDIR})
ENDIF(CMAKE_INSTALL_TYPE MATCHES "package-.*")
diff --git a/Packaging-DEB.cmake b/Packaging-DEB.cmake
index 9d61982..c06b166 100644
--- a/Packaging-DEB.cmake
+++ b/Packaging-DEB.cmake
@@ -1,4 +1,4 @@
-INSTALL(TARGETS otr DESTINATION lib/irssi/modules)
+INSTALL(TARGETS otr DESTINATION lib${LIB_SUFFIX}/irssi/modules)
INSTALL(FILES README LICENSE DESTINATION ${DOCDIR})
SET(CPACK_GENERATOR DEB)
diff --git a/Packaging-RPM.cmake b/Packaging-RPM.cmake
index 240c1e2..46d8e0c 100644
--- a/Packaging-RPM.cmake
+++ b/Packaging-RPM.cmake
@@ -1,4 +1,4 @@
-INSTALL(TARGETS otr DESTINATION lib/irssi/modules)
+INSTALL(TARGETS otr DESTINATION lib${LIB_SUFFIX}/irssi/modules)
INSTALL(FILES README DESTINATION ${DOCDIR})
SET(CPACK_GENERATOR RPM)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git
More information about the Pkg-privacy-commits
mailing list