diff options
author | jperkin <jperkin> | 2013-05-17 21:20:40 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-05-17 21:20:40 +0000 |
commit | c4cfed818cab3f1d2d32e642993b45c35586ca67 (patch) | |
tree | e711c4539160dcce0c5a89b7202bf37cc4a94ab8 | |
parent | a8a6ba8ce1940c7bf18cbf60e5f88a458828908a (diff) | |
download | pkgsrc-c4cfed818cab3f1d2d32e642993b45c35586ca67.tar.gz |
Fix build on SunOS.
-rw-r--r-- | x11/kdelibs4/Makefile | 3 | ||||
-rw-r--r-- | x11/kdelibs4/distinfo | 3 | ||||
-rw-r--r-- | x11/kdelibs4/patches/patch-kdecore_tests_CMakeLists.txt | 24 |
3 files changed, 28 insertions, 2 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index ddece471da8..beda159cafb 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.55 2013/05/09 07:39:23 adam Exp $ +# $NetBSD: Makefile,v 1.56 2013/05/17 21:20:40 jperkin Exp $ DISTNAME= kdelibs-${_KDE_VERSION} PKGNAME= ${DISTNAME:S/-4/4-4/} @@ -76,6 +76,7 @@ DEPENDS+= zonetab-[0-9]*:../../time/zonetab PLIST.kgrantpty= yes .endif +CFLAGS.SunOS+= -D__EXTENSIONS__ LDFLAGS.SunOS+= -lintl BUILDLINK_DEPMETHOD.qt4-tools= full diff --git a/x11/kdelibs4/distinfo b/x11/kdelibs4/distinfo index a0c4d53ed4b..3149a06ceca 100644 --- a/x11/kdelibs4/distinfo +++ b/x11/kdelibs4/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.34 2013/05/06 15:03:19 joerg Exp $ +$NetBSD: distinfo,v 1.35 2013/05/17 21:20:40 jperkin Exp $ SHA1 (kdelibs-4.10.2.tar.xz) = 2f1f455c39fa33cc133db7ec6b3d2dbbabe03c85 RMD160 (kdelibs-4.10.2.tar.xz) = b1cb62464e146c2f65cf4bb2487be7001ee4fc7b @@ -18,6 +18,7 @@ SHA1 (patch-cmake_modules_FindKDE4Internal.cmake) = 4b1e7a68fe6f3766deca6d557e80 SHA1 (patch-cmake_modules_FindTaglib.cmake) = be38479966da542343dd962c57f7e9d1be3e9ff4 SHA1 (patch-kdecore_localization_klocale_kde.cpp) = b8a513a0c51e65d7e604a88c1d0e3325be6ad688 SHA1 (patch-kdecore_network_ConfigureChecks.cmake) = 0ad9352974911ef78ec565f7b2a97c45ead2cf72 +SHA1 (patch-kdecore_tests_CMakeLists.txt) = b09d569127b3be95a6b9d51a0e02d0d1877a289f SHA1 (patch-kdecore_util_kshareddatacache_p.h) = 6d064fe75fbecd489b0343960333864c717c0805 SHA1 (patch-kjs_JSImmediate.h) = ecc761c7c82f711f41cf47d706c1c22d22c2980a SHA1 (patch-kjs_interpreter.cpp) = 9d400daf7d96674b8d66e1cde46dcb3615635241 diff --git a/x11/kdelibs4/patches/patch-kdecore_tests_CMakeLists.txt b/x11/kdelibs4/patches/patch-kdecore_tests_CMakeLists.txt new file mode 100644 index 00000000000..31866799000 --- /dev/null +++ b/x11/kdelibs4/patches/patch-kdecore_tests_CMakeLists.txt @@ -0,0 +1,24 @@ +$NetBSD: patch-kdecore_tests_CMakeLists.txt,v 1.1 2013/05/17 21:20:40 jperkin Exp $ + +Disable klockfiletest, it causes linker failures on SunOS. + +--- kdecore/tests/CMakeLists.txt.orig 2013-03-01 06:26:14.975769068 +0000 ++++ kdecore/tests/CMakeLists.txt +@@ -45,7 +45,7 @@ KDECORE_UNIT_TESTS( + kentrymaptest + kconfigtest + kurlmimetest +- klockfiletest ++ #klockfiletest + ktempdirtest + ksharedptrtest + kshareddatacachetest +@@ -98,7 +98,7 @@ KDECORE_EXECUTABLE_TESTS( + dbuscalltest + kmdcodectest + startserviceby +- klockfile_testlock # helper for klockfiletest ++ #klockfile_testlock # helper for klockfiletest + ) + + ########### klocaletest ############### |