freeradius Makefile patch

Ryan J.Taylor rj at rjt.org
Thu Nov 20 14:49:04 PST 2003


Greetings,

I received errors compiling freeradius with openldap support from ports 
today.  Turns out the openldap ports have been broken down into 
net/openldapXX-client and net/openldapXX-server.  This diff fixed the 
problem for me and let freeradius compile with WITH_OPENLDAP_VER 
defined.

Regards,
RJ


--- Makefile.orig       Thu Nov 20 17:14:24 2003
+++ Makefile    Thu Nov 20 17:14:46 2003
@@ -30,8 +30,8 @@

  .if defined(WITH_OPENLDAP_VER)
  .if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21
-LIB_DEPENDS+=  ldap.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
-LIB_DEPENDS+=  lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}
+LIB_DEPENDS+=  
ldap.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}-client
+LIB_DEPENDS+=  
lber.2:${PORTSDIR}/net/openldap${WITH_OPENLDAP_VER}-client
  .else
  BROKEN=                "WITH_OPENLDAP_VER must be 20 or 21"
  .endif



More information about the freebsd-ports mailing list