From d7f69e47ce32be7271733bcdf48d28468f400ab9 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 28 Jan 2003 22:03:00 +0000 Subject: 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 . --- net/net-snmp/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'net/net-snmp') 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" -- cgit v1.2.3