ports/57491: www/mod_php4 doesn't build with ldap

Oliver Eikemeier eikemeier at fillmore-labs.com
Thu Oct 2 10:40:17 UTC 2003


The following reply was made to PR ports/57491; it has been noted by GNATS.

From: Oliver Eikemeier <eikemeier at fillmore-labs.com>
To: Rolandas Naujikas <rolnas at takas.lt>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/57491: www/mod_php4 doesn't build with ldap
Date: Thu, 02 Oct 2003 12:34:26 +0200

 Rolandas Naujikas wrote:
 
 > After changes in ports/www/php4/Makefile to use USE_OPENLDAP=yes, dependencies 
 > doesn't include any openldap port so doesn't compile on clean system. The code 
 > about USE_OPENLDAP in ports/Mk/bsd.ports.mk doesn't executes, so problem is 
 > possible in ports/Mk/bsd.ports.mk.
 
 USE_OPENLDAP has to be defined *before* including bsd.port.pre.mk.
 The reason it is defined in the pre section is that you have to be
 able to check to the chosen WANT_OPENLDAP_VER after bsd.port.pre.mk.
 
 >>Fix:
 
 move USE_OPENLDAP up or, better, move .include <bsd.port.pre.mk> down
 as far as possible.
 
 Regards
     Oliver
 



More information about the freebsd-ports-bugs mailing list