summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
committerjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
commitd7f69e47ce32be7271733bcdf48d28468f400ab9 (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /net/net-snmp
parent63fd8d49cc206089921ed7d972b87faff07efbe6 (diff)
downloadpkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 1975410a5b0..f5e5269b27a 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/10/24 09:34:07 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2003/01/28 22:03:53 jlam Exp $
DISTNAME= net-snmp-5.0.6
CATEGORIES= net
@@ -21,15 +21,16 @@ NET_SNMP_LOGFILE?= /var/log/snmpd.log
NET_SNMP_PERSISTENTDIR?= /var/net-snmp
NET_SNMP_MIBDIRS?= \$$HOME/.snmp/mibs:${PREFIX}/share/snmp/mibs
-USE_BUILDLINK2= # defined
-USE_LIBTOOL= # defined
+USE_BUILDLINK2= yes
+USE_PKGINSTALL= yes
+USE_LIBTOOL= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
.if (${OPSYS} == "NetBSD")
CFLAGS+= -Dnetbsd1
.endif
-GNU_CONFIGURE= # defined
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
.if defined(USE_INET6) && (${USE_INET6} == "YES")
CONFIGURE_ARGS+= --enable-ipv6
@@ -95,5 +96,4 @@ post-install:
.include "../../security/openssl/buildlink2.mk"
.include "../../security/tcp_wrappers/buildlink2.mk"
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"