pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q2]: pkgsrc/net/powerdns Pullup ticket #5536 - requested b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c874a792efa4
branches: pkgsrc-2017Q2
changeset: 408676:c874a792efa4
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon Aug 28 19:01:04 2017 +0000
description:
Pullup ticket #5536 - requested by he
net/powerdns: build fix
Revisions pulled up:
- net/powerdns/distinfo 1.26
- net/powerdns/patches/patch-configure 1.6
- net/powerdns/patches/patch-m4_pdns__check__os.m4 1.1
---
Module Name: pkgsrc
Committed By: he
Date: Thu Aug 24 20:59:22 UTC 2017
Modified Files:
pkgsrc/net/powerdns: distinfo
Added Files:
pkgsrc/net/powerdns/patches: patch-configure
patch-m4_pdns__check__os.m4
Log Message:
Omit the insistence on -latomic on mips and powerpc if we're on NetBSD.
No PKGREVISION bump, no change for other platforms, and this is a build fix
for those affected by the problem.
diffstat:
net/powerdns/distinfo | 4 ++-
net/powerdns/patches/patch-configure | 35 ++++++++++++++++++++++++
net/powerdns/patches/patch-m4_pdns__check__os.m4 | 34 +++++++++++++++++++++++
3 files changed, 72 insertions(+), 1 deletions(-)
diffs (94 lines):
diff -r d1e7cd5a5c07 -r c874a792efa4 net/powerdns/distinfo
--- a/net/powerdns/distinfo Tue Aug 15 19:07:44 2017 +0000
+++ b/net/powerdns/distinfo Mon Aug 28 19:01:04 2017 +0000
@@ -1,10 +1,12 @@
-$NetBSD: distinfo,v 1.25 2017/06/23 17:12:54 fhajny Exp $
+$NetBSD: distinfo,v 1.25.2.1 2017/08/28 19:01:04 bsiegert Exp $
SHA1 (pdns-4.0.4.tar.bz2) = 27a7421d363e2d8c6dac1404a8c1c96bc6e93f46
RMD160 (pdns-4.0.4.tar.bz2) = b21f87c79162d3a6b1952d96093088ede17e9690
SHA512 (pdns-4.0.4.tar.bz2) = 4ef4705cd990b03976775167c7c37850d45907e198549feda5f5701172e008e3f1f74a35a9bebdb24b63dec15ff63cb2cc9dfc8f92e4e1012e0539c5a88b845b
Size (pdns-4.0.4.tar.bz2) = 1320327 bytes
+SHA1 (patch-configure) = f5f4c2d9b635b223f2379a330bfae497ef62191e
SHA1 (patch-ext_json11_json11.cpp) = a8ffe67156a836841aef8a6bba134a82283f381e
+SHA1 (patch-m4_pdns__check__os.m4) = db98d2c892f2e53e42745026749f2ab2a691ed4a
SHA1 (patch-pdns_dns.hh) = 626eb4e29b7fcd82fbe056036c157c1e85fa49ca
SHA1 (patch-pdns_dnsscope.cc) = b289b750686b25041c3e291fb0d3d562beb36eaf
SHA1 (patch-pdns_iputils.hh) = 7507f6b080c9aa5e71068b3e9e92e71de6fc2b15
diff -r d1e7cd5a5c07 -r c874a792efa4 net/powerdns/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns/patches/patch-configure Mon Aug 28 19:01:04 2017 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-configure,v 1.6.2.2 2017/08/28 19:01:04 bsiegert Exp $
+
+Regen after excluding -latomic test on NetBSD.
+
+--- configure.orig 2017-08-24 16:29:40.591346034 +0000
++++ configure
+@@ -5567,9 +5567,14 @@ else
+ fi
+
+
+- case "$host" in
+- mips* | powerpc* )
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
++ case "$host_os" in
++ netbsd*)
++ : # no -latomic
++ ;;
++ *)
++ case "$host" in
++ mips* | powerpc* )
++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
+ $as_echo_n "checking whether the linker accepts -latomic... " >&6; }
+ if ${ax_cv_check_ldflags___latomic+:} false; then :
+ $as_echo_n "(cached) " >&6
+@@ -5606,7 +5611,9 @@ else
+
+ fi
+
+- LDFLAGS="-latomic $LDFLAGS"
++ LDFLAGS="-latomic $LDFLAGS"
++ ;;
++ esac
+ ;;
+ esac
+
diff -r d1e7cd5a5c07 -r c874a792efa4 net/powerdns/patches/patch-m4_pdns__check__os.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns/patches/patch-m4_pdns__check__os.m4 Mon Aug 28 19:01:04 2017 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-m4_pdns__check__os.m4,v 1.1.2.2 2017/08/28 19:01:04 bsiegert Exp $
+
+Don't insist on -latomic on mips & powerpc if on NetBSD.
+
+--- m4/pdns_check_os.m4.orig 2017-06-22 20:07:25.000000000 +0000
++++ m4/pdns_check_os.m4
+@@ -35,13 +35,20 @@ AC_DEFUN([PDNS_CHECK_OS],[
+ AM_CONDITIONAL([HAVE_LINUX], [test "x$have_linux" = "xyes"])
+ AM_CONDITIONAL([HAVE_SOLARIS], [test "x$have_solaris" = "xyes"])
+
+- case "$host" in
+- mips* | powerpc* )
+- AX_CHECK_LINK_FLAG([-latomic],
+- [ : ],
+- [ AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) ]
+- )
+- LDFLAGS="-latomic $LDFLAGS"
++ case "$host_os" in
++ netbsd*)
++ : # no -latomic
++ ;;
++ *)
++ case "$host" in
++ mips* | powerpc* )
++ AX_CHECK_LINK_FLAG([-latomic],
++ [ : ],
++ [ AC_MSG_ERROR([Unable to link against libatomic, cannot continue]) ]
++ )
++ LDFLAGS="-latomic $LDFLAGS"
++ ;;
++ esac
+ ;;
+ esac
+
Home |
Main Index |
Thread Index |
Old Index