pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/c-icap NetBSD needs -lrt for shm_open.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d364772f7197
branches:  trunk
changeset: 358290:d364772f7197
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 09 00:17:07 2017 +0000

description:
NetBSD needs -lrt for shm_open.

diffstat:

 www/c-icap/distinfo                |   4 ++--
 www/c-icap/patches/patch-configure |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r e9d49ea06ab1 -r d364772f7197 www/c-icap/distinfo
--- a/www/c-icap/distinfo       Wed Feb 08 23:48:45 2017 +0000
+++ b/www/c-icap/distinfo       Thu Feb 09 00:17:07 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2017/02/06 14:14:48 adam Exp $
+$NetBSD: distinfo,v 1.10 2017/02/09 00:17:07 joerg Exp $
 
 SHA1 (c_icap-0.4.4.tar.gz) = c2cf919215812a40053652f9501c1b8d3c40c684
 RMD160 (c_icap-0.4.4.tar.gz) = a69c5832951db9c424a3ea748d4512ec1ce313a2
@@ -6,4 +6,4 @@
 Size (c_icap-0.4.4.tar.gz) = 636947 bytes
 SHA1 (patch-Makefile.in) = 103129c1bd438885290c3712c53b8e9d3cc3b1ab
 SHA1 (patch-cfg__param.c) = 005d22a2d0cc0f64b38a14477b1d21c28e361018
-SHA1 (patch-configure) = d7ed5a07c97b123a42af91df3efcd99c39a74a6b
+SHA1 (patch-configure) = 0a4e857ef4f6277ba27d3ec33b2797978932f3e5
diff -r e9d49ea06ab1 -r d364772f7197 www/c-icap/patches/patch-configure
--- a/www/c-icap/patches/patch-configure        Wed Feb 08 23:48:45 2017 +0000
+++ b/www/c-icap/patches/patch-configure        Thu Feb 09 00:17:07 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-configure,v 1.6 2017/02/06 14:14:48 adam Exp $
+$NetBSD: patch-configure,v 1.7 2017/02/09 00:17:07 joerg Exp $
 
 Detect Berkeley DB.
+Link against librt on NetBSD, too.
 
 --- configure.orig     2016-09-21 12:09:36.000000000 +0000
 +++ configure
@@ -28,3 +29,12 @@
  else
    libdb="no"; echo "no";
  
+@@ -14585,7 +14584,7 @@ if test a"$POSIX_SHARED_MEM" = "a1"; the
+ # Linux and solaris define the shm_open in -rt library.
+ # This library already included in LIBS for solaris
+ case "$target_os" in
+-     linux*)
++     linux*|netbsd*)
+         EXTRALIBS="$EXTRALIBS -lrt"
+      ;;
+      *)



Home | Main Index | Thread Index | Old Index