diff options
author | wiz <wiz> | 2007-03-12 06:42:12 +0000 |
---|---|---|
committer | wiz <wiz> | 2007-03-12 06:42:12 +0000 |
commit | df7f57259f557cd84b074e6252828ea32e68c3fb (patch) | |
tree | 8d7fdfaed2a2abe6294ab2b72e699927ae2c0abc /devel | |
parent | 41fad67bd15a6f7cf79e48b23f3bb2d65d03a1a1 (diff) | |
download | pkgsrc-df7f57259f557cd84b074e6252828ea32e68c3fb.tar.gz |
Apply patch from Kimura Fuyuki in PR 35954, fixing:
cmake-generated build system doesn't create symlinks for shared
libraries on NetBSD.
Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cmake/Makefile | 4 | ||||
-rw-r--r-- | devel/cmake/distinfo | 3 | ||||
-rw-r--r-- | devel/cmake/patches/patch-ad | 14 |
3 files changed, 18 insertions, 3 deletions
diff --git a/devel/cmake/Makefile b/devel/cmake/Makefile index c7e7fc1725f..7bcddf4a3dc 100644 --- a/devel/cmake/Makefile +++ b/devel/cmake/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.31 2007/02/26 21:37:16 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2007/03/12 06:42:12 wiz Exp $ DISTNAME= cmake-2.4.6 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.cmake.org/files/v2.4/ diff --git a/devel/cmake/distinfo b/devel/cmake/distinfo index 93e2b0cbf98..03c2b595707 100644 --- a/devel/cmake/distinfo +++ b/devel/cmake/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2007/02/26 21:37:16 wiz Exp $ +$NetBSD: distinfo,v 1.12 2007/03/12 06:42:12 wiz Exp $ SHA1 (cmake-2.4.6.tar.gz) = 5290aaf949413ee7f77275ba68e73cec1546364b RMD160 (cmake-2.4.6.tar.gz) = 61af13faecd10e85a0fee3252630b30b8781987a @@ -6,3 +6,4 @@ Size (cmake-2.4.6.tar.gz) = 2604547 bytes SHA1 (patch-aa) = 1652da758d103503d6cd657b7eb193a0174dab55 SHA1 (patch-ab) = 40d1c172cb4ddb5f993279eaafbf68fdc37d62c5 SHA1 (patch-ac) = 69e026dcdf1aac1db54bcc8e73a8896f4831d345 +SHA1 (patch-ad) = 24b2b70a4894783b77dbe19746e6afcb9c3689b6 diff --git a/devel/cmake/patches/patch-ad b/devel/cmake/patches/patch-ad new file mode 100644 index 00000000000..2fabaf74f8e --- /dev/null +++ b/devel/cmake/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.3 2007/03/12 06:42:13 wiz Exp $ + +http://www.cmake.org/Bug/bug.php?op=show&bugid=4558&pos=0 + +--- Modules/Platform/NetBSD.cmake.orig 2007-01-11 02:59:12.000000000 +0900 ++++ Modules/Platform/NetBSD.cmake +@@ -5,5 +5,7 @@ IF(EXISTS /usr/include/dlfcn.h) + SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") # +s, flag for exe link to use shared lib + SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") # -rpath + SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") # : or empty ++ SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") ++ SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,") + ENDIF(EXISTS /usr/include/dlfcn.h) + INCLUDE(Platform/UnixPaths) |