diff options
Diffstat (limited to 'net/freeradius/Makefile')
-rw-r--r-- | net/freeradius/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile index 8f2c329b3d0..9c462450b3c 100644 --- a/net/freeradius/Makefile +++ b/net/freeradius/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2003/02/27 11:30:00 darcy Exp $ +# $NetBSD: Makefile,v 1.3 2003/03/12 05:56:49 jmc Exp $ DISTNAME= freeradius-0.7 CATEGORIES= net +PKGREVISION= 1 MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ ftp://ftp.Awfulhak.org/pub/radius/ @@ -12,9 +13,19 @@ COMMENT= Free RADIUS server implementation CONFLICTS+= radiusd-cistron* USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --quiet --with-logdir=/var/log +CONFIGURE_ARGS= --quiet --with-logdir=/var/log --disable-ltdl-install --with-ltdl-lib=${PREFIX}/lib --with-ltdl-include=${PREFIX}/include USE_BUILDLINK2= YES USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +.include "../../mk/bsd.prefs.mk" + +# Needs semaphore functions as well as thread libs. +.if ${OPSYS} == "NetBSD" +. if ${OS_VERSION:M1.[0-5]*} || ${OS_VERSION} == "1.6" || ${OS_VERSION:M1.6[A-M]*} || ${OS_VERSION:M1.6.1*} +CONFIGURE_ARGS+= --with-threads=no +. endif +.endif RADDB= acct_users attrs clients clients.conf dictionary \ dictionary.acc dictionary.aptis dictionary.ascend \ @@ -37,4 +48,5 @@ post-install: .include "../../databases/gdbm/buildlink2.mk" .include "../../mk/pthread.buildlink2.mk" +.include "../../devel/libtool/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |