diff options
author | jmc <jmc@pkgsrc.org> | 2003-03-12 05:56:49 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-03-12 05:56:49 +0000 |
commit | b390daac39e7406dae755a98860e3efaf934bcd4 (patch) | |
tree | 6b813981bed21a8b1d6c395d866d6f767c5ce309 /net/freeradius/Makefile | |
parent | fe95e374ca9e5b9b4f5f38fa705c4669b6c5efde (diff) | |
download | pkgsrc-b390daac39e7406dae755a98860e3efaf934bcd4.tar.gz |
Remove the installation of libltdl and make this use the already installed one
that libtool-base puts down. Also, fix one place in the freeradius code
where a config.h should have been emitted but wasn't.
Also, for NetBSD < 1.6N disable threads as this requires threads and
the posix semaphore headers which pth/etc don't provide and didn't appear
until 1.6N
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" |