summaryrefslogtreecommitdiff
path: root/net/hesiod
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-29 13:34:35 +0000
committerjlam <jlam@pkgsrc.org>2001-11-29 13:34:35 +0000
commitfbf3d42951186433eddd3394a40a0ffb84a9dd0a (patch)
tree6e35f0bbfc273fec8534d8d1863cf795db02b828 /net/hesiod
parent719c0f7583cbaa77c5e95db2563461bf47f63c89 (diff)
downloadpkgsrc-fbf3d42951186433eddd3394a40a0ffb84a9dd0a.tar.gz
Trivially buildlinkify. Also correct typo: NEED_HESIOD should be
USE_HESIOD if the buildlink.mk file is to be believed, and we should include bsd.prefs.mk first so that a USE_HESIOD from /etc/mk.conf can be picked up.
Diffstat (limited to 'net/hesiod')
-rw-r--r--net/hesiod/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/hesiod/Makefile b/net/hesiod/Makefile
index d84bffa2f68..18a057d9c36 100644
--- a/net/hesiod/Makefile
+++ b/net/hesiod/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/11/29 11:41:28 seb Exp $
+# $NetBSD: Makefile,v 1.2 2001/11/29 13:34:35 jlam Exp $
DISTNAME= hesiod-3.0.2
CATEGORIES= net
@@ -7,12 +7,15 @@ MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/
MAINTAINER= kpneal@pobox.org
COMMENT= Hesiod network database client and library
-GNU_CONFIGURE= YES
+USE_BUILDLINK_ONLY= YES
-.if exists(/usr/include/hesiod.h) && !defined(NEED_HESIOD)
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(/usr/include/hesiod.h) && !defined(USE_HESIOD)
IGNORE= "${PKGNAME} is part of your ${OPSYS} distribution"
.endif
+GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
.include "../../mk/bsd.pkg.mk"