From c8cef467cf96441ba495dfd58b4bf9070fb074d3 Mon Sep 17 00:00:00 2001
From: Jun Kuriyama <kuriyama@FreeBSD.org>
Date: Thu, 11 Sep 2003 23:30:22 +0000
Subject: Ues USE_RC_SUBR knob.

Approved by:	marcus
---
 net/net-snmp/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(limited to 'net/net-snmp')

diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 45767c531a76..a5943c74fba1 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -14,17 +14,11 @@ MASTER_SITE_SUBDIR= net-snmp
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	An extendable SNMP implementation
 
-.if !exists(/etc/rc.subr)
-RUN_DEPENDS=	${LOCALBASE}/etc/rc.subr:${PORTSDIR}/sysutils/rc_subr
-RC_SUBR=	${LOCALBASE}/etc/rc.subr
-.else
-RC_SUBR=	/etc/rc.subr
-.endif
-
 USE_PERL5=	yes
 USE_REINPLACE=	yes
 USE_AUTOCONF_VER=213
 USE_LIBTOOL=	yes
+USE_RC_SUBR=	yes
 INSTALLS_SHLIB=	yes
 LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
 NO_LATEST_LINK=	yes
-- 
cgit v1.2.3