Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 17:49:13 -0500
From:      Ryan J.Taylor <rj@rjt.org>
To:        ports@freebsd.org
Subject:   freeradius Makefile patch
Message-ID:  <C33702FE-1BAB-11D8-8B2B-00306583DA7C@rjt.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C33702FE-1BAB-11D8-8B2B-00306583DA7C>