summaryrefslogtreecommitdiff
path: root/devel/dcmtk/files/patch-cmake-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dcmtk/files/patch-cmake-CMakeLists.txt')
-rw-r--r--devel/dcmtk/files/patch-cmake-CMakeLists.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/devel/dcmtk/files/patch-cmake-CMakeLists.txt b/devel/dcmtk/files/patch-cmake-CMakeLists.txt
new file mode 100644
index 000000000000..1e1a1e2279de
--- /dev/null
+++ b/devel/dcmtk/files/patch-cmake-CMakeLists.txt
@@ -0,0 +1,33 @@
+--- CMakeLists.txt.orig 2011-01-12 13:26:53.000000000 +0000
++++ CMakeLists.txt 2011-01-12 13:25:56.000000000 +0000
+@@ -71,14 +71,14 @@
+ # Installation sub-directories
+ #-----------------------------------------------------------------------------
+
+-SET(INSTALL_BINDIR "/bin")
++SET(INSTALL_BINDIR "/bin/dcmtk")
+ SET(INSTALL_INCDIR "/include")
+ SET(INSTALL_LIBDIR "/lib")
+ SET(INSTALL_ETCDIR "/etc/dcmtk")
+ SET(INSTALL_DATDIR "/share/dcmtk")
+ SET(INSTALL_DOCDIR "/share/doc/dcmtk")
+ SET(INSTALL_HTMDIR "/share/doc/dcmtk/html")
+-SET(INSTALL_MANDIR "/share/man")
++SET(INSTALL_MANDIR "/man")
+
+ #-----------------------------------------------------------------------------
+ # Platform-independent settings
+@@ -234,6 +234,13 @@
+ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
+
+ #-----------------------------------------------------------------------------
++# Module to build shared and static libraries
++#-----------------------------------------------------------------------------
++
++INCLUDE(CMake/BuildLibrary.cmake)
++
++
++#-----------------------------------------------------------------------------
+ # Third party libraries
+ #-----------------------------------------------------------------------------
+