On 2012/02/19 16:33, mailingl...@modernbiztonsag.org wrote:
> OPENBSD_5_0_BASE is at version 2.9.22 just as the pre-compiled package (no
> wonder). And it compiles and works fine. The one tagged as OPENBSD_5_0 is
> version 2.9.22.6 and it shows the undefined symbol problem. I hope i got
> it clear this time. :)

Brad pointed out a likely problem. Please try this diff.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/powerdns/Makefile,v
retrieving revision 1.14.2.2
diff -u -p -r1.14.2.2 Makefile
--- Makefile    28 Jan 2012 10:49:34 -0000      1.14.2.2
+++ Makefile    30 Mar 2012 00:45:04 -0000
@@ -10,6 +10,7 @@ COMMENT-sqlite3=      SQLite3 database access
 COMMENT-ldap=          LDAP module for PowerDNS
 
 V=                     2.9.22.6
+REVISION=              0
 DISTNAME=              pdns-${V}
 PKGNAME=               powerdns-${V}
 PKGNAME-main=          powerdns-${V}
Index: patches/patch-configure_in
===================================================================
RCS file: /cvs/ports/net/powerdns/patches/patch-configure_in,v
retrieving revision 1.1.10.1
diff -u -p -r1.1.10.1 patch-configure_in
--- patches/patch-configure_in  11 Jan 2012 02:01:18 -0000      1.1.10.1
+++ patches/patch-configure_in  30 Mar 2012 00:45:04 -0000
@@ -1,16 +1,14 @@
 $OpenBSD: patch-configure_in,v 1.1.10.1 2012/01/11 02:01:18 sthen Exp $
---- configure.in.orig  Sun Jan 25 12:25:37 2009
-+++ configure.in       Fri Oct 21 08:16:12 2011
-@@ -87,12 +87,6 @@ linux*)
-       THREADFLAGS="-pthread"
-       CXXFLAGS="-D_GNU_SOURCE $CXXFLAGS"
+--- configure.in.orig  Mon Jan 16 08:30:30 2012
++++ configure.in       Fri Mar 30 01:43:30 2012
+@@ -89,8 +89,8 @@ linux*)
        ;;
--openbsd*)
--      AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
+ openbsd*)
+       AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
 -      DYNLINKFLAGS="-rdynamic"
 -      LDFLAGS="-lc_r $LDFLAGS"
--      CXXFLAGS="-pthread $CXXFLAGS"
--      ;;
++      DYNLINKFLAGS="-Wl,-export-dynamic"
++      LDFLAGS="-pthread $LDFLAGS"
+       CXXFLAGS="-pthread $CXXFLAGS"
+       ;;
  *)
-       AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
-       DYNLINKFLAGS="-rdynamic"

Reply via email to