BAD HACK WARNING... I'm hoping there is somebody who is going
to stop me from committing this by sending a proper fix.
If not, it needs to go in to unbreak the package.


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/powerdns/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    11 Feb 2009 08:15:20 -0000      1.7
+++ Makefile    17 Jun 2009 03:05:31 -0000
@@ -9,11 +9,11 @@ COMMENT-sqlite3=      sqlite3 database access
 V=                     2.9.21.2
 DISTNAME=              pdns-${V}
 PKGNAME=               powerdns-${V}
-PKGNAME-main=          powerdns-${V}p1
-PKGNAME-mysql=         powerdns-mysql-${V}p0
-PKGNAME-pgsql=         powerdns-pgsql-${V}p0
-PKGNAME-sqlite=        powerdns-sqlite-${V}p0
-PKGNAME-sqlite3=       powerdns-sqlite3-${V}p0
+PKGNAME-main=          powerdns-${V}p2
+PKGNAME-mysql=         powerdns-mysql-${V}p1
+PKGNAME-pgsql=         powerdns-pgsql-${V}p1
+PKGNAME-sqlite=        powerdns-sqlite-${V}p1
+PKGNAME-sqlite3=       powerdns-sqlite3-${V}p1
 CATEGORIES=            net
 HOMEPAGE=              http://www.powerdns.com/
 
@@ -43,6 +43,13 @@ PSEUDO_FLAVORS+=     no_mysql no_pgsql no_sq
 FLAVOR?=
 
 BACKENDS=
+
+# XXX this is wrong. but at least it means packages work.
+#
+# the main binary gets linked with mysqlclient; actually only the
+# mysql module should link with it.
+#
+LIB_DEPENDS-main=      lib/mysql/mysqlclient.>=10::databases/mysql
 
 # MySQL
 .if ${FLAVOR:L:Mno_mysql}

Reply via email to