aboutsummaryrefslogtreecommitdiffstats
path: root/net/freeradius/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/freeradius/Makefile')
-rw-r--r--net/freeradius/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile
index f83937c11472..d827aec8d45f 100644
--- a/net/freeradius/Makefile
+++ b/net/freeradius/Makefile
@@ -7,6 +7,7 @@
PORTNAME= freeradius
PORTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \
ftp://ftp.Awfulhak.org/pub/radius/
@@ -14,14 +15,18 @@ MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \
MAINTAINER= brian@FreeBSD.org
COMMENT= A free RADIUS server implementation
-LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
+ ltdl.4:${PORTSDIR}/devel/libltdl
LOGDIR?= /var/log
USE_GMAKE= yes
USE_LIBTOOL= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --quiet --with-logdir=${LOGDIR} \
- --localstatedir=/var
+ --localstatedir=/var \
+ --disable-ltdl-install \
+ --with-ltdl-include=${LOCALBASE}/include \
+ --with-ltdl-lib=${LOCALBASE}/lib
.if defined(WITH_OPENLDAP_VER)
.if ${WITH_OPENLDAP_VER} == 20 || ${WITH_OPENLDAP_VER} == 21