Subject: devel/apr breaks db4 / openldap
To: NetBSD Packages <>
From: Dick Davies <>
List: tech-pkg
Date: 10/03/2004 21:02:39
I just tried rebuilding apache and found i got a build failure in
linking against ldap. The problem seems to be that I have  these two
knobs set:

rasputin@lb:lib$ grep APR /etc/mk.conf

(because I have a mod_auth_ldap protected Subversion repository).
Disabling the first breaks subversion, disabling the second stops
the apache ldap modules being built, and they've not conflicted in the 
last six months, so shouldn't the elsif be an endif/if pair?

This patch seems to fix my build
(also there isn't a maintainer mentioned in the Makefile).

rasputin@lb:apr$ cvs diff  -u
socket: Protocol not supported
cvs diff: Diffing .
RCS file: /pub/NetBSD-CVS/pkgsrc/devel/apr/,v
retrieving revision 1.7
diff -u -r1.7
---       3 Oct 2004 00:13:24 -0000       1.7
+++       3 Oct 2004 19:57:26 -0000
@@ -24,7 +24,8 @@

 .if !empty(APR_USE_DB4:M[yY][eE][sS])
 .  include "../../databases/db4/"
-.elif !empty(APR_USE_OPENLDAP:M[Yy][Ee][Ss])
+.if !empty(APR_USE_OPENLDAP:M[Yy][Ee][Ss])
 .  include "../../databases/openldap/"

cvs diff: Diffing patches

Yeah, life is hilariously cruel. - Bender
Rasputin :: Jack of All Trades - Master of Nuns