Fri Mar 23 21:25:19 2012 UTC ()
net/bind99: Fix undefined reference to `main'

DragonFly build was broken during the linking of driver.so
----
libtool: link: cc -o driver.so .libs/driver.o -L/wrkobjdir/net/bind99/work/.buildlink/lib
/usr/lib/crt1.o: In function `_start':
crt1.c:(.text+0x149): undefined reference to `main'
*** Error code 1
----

This has been seen on other platforms:
Fedora: http://lists.fedoraproject.org/pipermail/scm-commits/2011-November/683368.html
Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=406399

Not building dlzexternal is the solution the worked in the above reports.
It works for DragonFly as well, and the PLIST is not affected.


(marino)
diff -r1.1.1.1 -r1.2 pkgsrc/net/bind99/distinfo
diff -r0 -r1.1 pkgsrc/net/bind99/patches/patch-bin_tests_system_Makefile.in

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/bind99/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/net/bind99/Attic/distinfo 2012/03/07 14:25:00 1.1.1.1
+++ pkgsrc/net/bind99/Attic/distinfo 2012/03/23 21:25:01 1.2
@@ -1,18 +1,19 @@ @@ -1,18 +1,19 @@
1$NetBSD: distinfo,v 1.1.1.1 2012/03/07 14:25:00 taca Exp $ 1$NetBSD: distinfo,v 1.2 2012/03/23 21:25:01 marino Exp $
2 2
3SHA1 (bind-9.9.0.tar.gz) = 6be77c75c8649088b0ae7124d819b5f412bb0094 3SHA1 (bind-9.9.0.tar.gz) = 6be77c75c8649088b0ae7124d819b5f412bb0094
4RMD160 (bind-9.9.0.tar.gz) = 5fda36a3aa84062f7936978cb540e8ad3f1c4e08 4RMD160 (bind-9.9.0.tar.gz) = 5fda36a3aa84062f7936978cb540e8ad3f1c4e08
5Size (bind-9.9.0.tar.gz) = 7114050 bytes 5Size (bind-9.9.0.tar.gz) = 7114050 bytes
6SHA1 (patch-bin_dig_dighost.c) = 186cdc70605242afb0211dc8802ec75677a65614 6SHA1 (patch-bin_dig_dighost.c) = 186cdc70605242afb0211dc8802ec75677a65614
 7SHA1 (patch-bin_tests_system_Makefile.in) = 70fafa764752881f8367222b0a77cdae83c2e0f9
7SHA1 (patch-config.threads.in) = 227b83efe9cb3e301aaac9b97cf42f1fb8ad06b2 8SHA1 (patch-config.threads.in) = 227b83efe9cb3e301aaac9b97cf42f1fb8ad06b2
8SHA1 (patch-configure) = 6a8b709d8369864c397d4315348c9c96753618f6 9SHA1 (patch-configure) = 6a8b709d8369864c397d4315348c9c96753618f6
9SHA1 (patch-lib_bind9_Makefile.in) = 89e21d21fa512f11a2fdb8d7455abd5d95f20ba5 10SHA1 (patch-lib_bind9_Makefile.in) = 89e21d21fa512f11a2fdb8d7455abd5d95f20ba5
10SHA1 (patch-lib_dns_Makefile.in) = 1770a8bd86901c618b11d255f3af54748d04b759 11SHA1 (patch-lib_dns_Makefile.in) = 1770a8bd86901c618b11d255f3af54748d04b759
11SHA1 (patch-lib_dns_rbt.c) = df4b029369d9fa3b250d8505b5f7590e2cd86654 12SHA1 (patch-lib_dns_rbt.c) = df4b029369d9fa3b250d8505b5f7590e2cd86654
12SHA1 (patch-lib_dns_zone.c) = e01378ee95bf7c5b903a2c3a90acf83a3a4cae52 13SHA1 (patch-lib_dns_zone.c) = e01378ee95bf7c5b903a2c3a90acf83a3a4cae52
13SHA1 (patch-lib_isc_Makefile.in) = 5e0739d19957b1f26bcc24a6c76bcab6248cbff5 14SHA1 (patch-lib_isc_Makefile.in) = 5e0739d19957b1f26bcc24a6c76bcab6248cbff5
14SHA1 (patch-lib_isccc_Makefile.in) = a31831872b7724cb84f663ed70a82335d812f95f 15SHA1 (patch-lib_isccc_Makefile.in) = a31831872b7724cb84f663ed70a82335d812f95f
15SHA1 (patch-lib_isccfg_Makefile.in) = 5ce4a85c1a13eca255804850b18b421418a2a01b 16SHA1 (patch-lib_isccfg_Makefile.in) = 5ce4a85c1a13eca255804850b18b421418a2a01b
16SHA1 (patch-lib_lwres_Makefile.in) = 40fd0ed1d699cb2f6258f33888a9495899373767 17SHA1 (patch-lib_lwres_Makefile.in) = 40fd0ed1d699cb2f6258f33888a9495899373767
17SHA1 (patch-lib_lwres_getaddrinfo.c) = ccc00e446867785e401eb92e63e05505dfd01087 18SHA1 (patch-lib_lwres_getaddrinfo.c) = ccc00e446867785e401eb92e63e05505dfd01087
18SHA1 (patch-lib_lwres_getnameinfo.c) = 418ad349cf52925c9e8051b5c71d9d51ea8d2fb1 19SHA1 (patch-lib_lwres_getnameinfo.c) = 418ad349cf52925c9e8051b5c71d9d51ea8d2fb1

File Added: pkgsrc/net/bind99/patches/Attic/patch-bin_tests_system_Makefile.in
$NetBSD: patch-bin_tests_system_Makefile.in,v 1.1 2012/03/23 21:25:14 marino Exp $

--- bin/tests/system/Makefile.in.orig	2011-11-01 18:35:53.000000000 +0000
+++ bin/tests/system/Makefile.in
@@ -21,7 +21,7 @@ top_srcdir =	@top_srcdir@
 
 @BIND9_MAKE_INCLUDES@
 
-SUBDIRS =	dlzexternal filter-aaaa lwresd rpz tkey tsiggss
+SUBDIRS =	filter-aaaa lwresd rpz tkey tsiggss
 TARGETS =
 
 @BIND9_MAKE_RULES@