freebsd-ports/dns/nss_resinit/Makefile
Hajimu UMEMOTO 2369209682 Add WITH_COMPAT5X option. It is to build nss_resinit.so which is able
to work with the 5.X binaries such as p4 on 6.X after importing the
BIND9's resolver.

Requested by:	bms
2007-01-23 15:19:53 +00:00

36 lines
760 B
Makefile

# New ports collection makefile for: nss_resinit
# Date Created: Apr 11 2006
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD$
#
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 ${OSVERSION} < 500112
IGNORE= name-service switch support in libc is required
.endif
.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>