Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2004 06:06:41 +0300
From:      Sergey Matveychuk <sem@ciam.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61454: [patch] bsd.port.mk: we need no dependency for USE_RC_SUBR on 5.x
Message-ID:  <E1AhgnJ-0000lB-7N@Current.sem-home.ciam.ru>
Resent-Message-ID: <200401170310.i0H3AOSK054765@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61454
>Category:       ports
>Synopsis:       [patch] bsd.port.mk: we need no dependency for USE_RC_SUBR on 5.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 16 19:10:24 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD Current.sem-home.ciam.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Fri Nov 21 07:47:47 MSK 2003 root@Current.sem-home.ciam.ru:/usr/obj/usr/src/sys/CURRENT i386


	
>Description:
	
	When port set USE_RC_SUBR it need no run-time dependency
	on sysutils/rc_subr. It need only RC_SUBR=/etc/rc.subr
>How-To-Repeat:
	
>Fix:

	

--- bsd.port.mk.diff begins here ---
--- bsd.port.mk.orig	Sat Jan 17 05:51:59 2004
+++ bsd.port.mk	Sat Jan 17 06:01:34 2004
@@ -1535,8 +1535,12 @@
 .endif
 
 .if defined(USE_RC_SUBR)
+.if ${OSVERSION} < 500037
 RUN_DEPENDS+=	${LOCALBASE}/etc/rc.subr:${PORTSDIR}/sysutils/rc_subr
 RC_SUBR=	${LOCALBASE}/etc/rc.subr
+.else
+RC_SUBR=	/etc/rc.subr
+.endif
 .endif
 
 .if defined(USE_LINUX)
--- bsd.port.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AhgnJ-0000lB-7N>