# New ports collection makefile for:	nss_resinit
# Date Created:		Apr 11 2006
# Whom:			Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD: ports/dns/nss_resinit/Makefile,v 1.3 2009/01/05 19:43:55 pav Exp $
#

PORTNAME=	nss_resinit
PORTVERSION=	20060412
#PORTREVISION=	0
CATEGORIES=	dns
MASTER_SITES=	http://www.imasy.or.jp/~ume/FreeBSD/

MAINTAINER=	ume@FreeBSD.org
COMMENT=	Resolver re-initialization NSS module

PLIST_FILES=	lib/nss_resinit.so lib/nss_resinit.so.1

MAN8=		nss_resinit.8
MANCOMPRESSED=	yes

.include <bsd.port.pre.mk>

.if defined(WITH_COMPAT5X)
.if ${OSVERSION} > 700017
BROKEN=		7.X and later do not have compat syms for the old resolver
.endif
MAKE_ARGS+=	CC="${CC} -DWITH_COMPAT5X"
.endif

.include <bsd.port.post.mk>
