openbsd-ports/net/powerdns/patches/patch-configure_in
sthen 4d27560758 - update to 2.9.22, enable ldap.
- unbreak modules; when any module was enabled pdns_server was failing
to start up(!). Brad traced this to a LINK_SPEC problem and came up
with the workaround in patch-configure_in, thanks very much!

- set SHARED_ONLY and merge PFRAG.shared into PLISTs; PowerDNS itself
can work static-only, but you need to compile-in the relevant modules,
which doesn't mix well with MULTI_PACKAGES.

mysql backend is tested; other backends not yet, but this is a big
improvement on what's there at the moment.
2009-06-23 22:59:57 +00:00

18 lines
500 B
Plaintext

$OpenBSD: patch-configure_in,v 1.1 2009/06/23 22:59:57 sthen Exp $
workaround OpenBSD gcc LINK_SPEC problem (not obeying -rdynamic)
--- configure.in.orig Tue Jun 23 05:50:24 2009
+++ configure.in Tue Jun 23 05:52:40 2009
@@ -89,8 +89,8 @@ linux*)
;;
openbsd*)
AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
- DYNLINKFLAGS="-rdynamic"
- LDFLAGS="-lc_r $LDFLAGS"
+ DYNLINKFLAGS="-Wl,-export-dynamic"
+ LDFLAGS="-pthread $LDFLAGS"
CXXFLAGS="-pthread $CXXFLAGS"
;;
*)