summaryrefslogtreecommitdiff
path: root/net/hesiod
diff options
context:
space:
mode:
authorjlam <jlam>2001-11-29 13:34:35 +0000
committerjlam <jlam>2001-11-29 13:34:35 +0000
commite8042c71a6032a1b3a94cbf533b3f81bfb7943a6 (patch)
tree6e35f0bbfc273fec8534d8d1863cf795db02b828 /net/hesiod
parente1c6fd028b5f787a18b9cf8a97ca1090023d380a (diff)
downloadpkgsrc-e8042c71a6032a1b3a94cbf533b3f81bfb7943a6.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"