pkgsrc/net/hesiod/Makefile
dholland d955e12bea Add builtin handling for hesiod. Previously, this was setting
PKG_SKIP_REASION if hesiod was builtin, which was causing dependent
packages (all one of them, AFAICT) to fail in the bulk builds.

Someone who knows more about builtin/buildlink stuff should probably
review this, but to casual inspection at least it seems to work; plus
it's not likely to make anything worse.
2011-10-06 08:48:00 +00:00

24 lines
617 B
Makefile

# $NetBSD: Makefile,v 1.12 2011/10/06 08:48:00 dholland Exp $
DISTNAME= hesiod-3.0.2
CATEGORIES= net
MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
MAINTAINER= kpneal@pobox.org
COMMENT= Hesiod network database client and library
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CFLAGS.Darwin+= -DBIND_8_COMPAT
pre-build:
@${MV} ${WRKSRC}/hesinfo.1 ${WRKSRC}/hesinfo.1.orig
@${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|' \
${WRKSRC}/hesinfo.1.orig > ${WRKSRC}/hesinfo.1
.include "../../mk/bsd.pkg.mk"