ports/61454: [patch] bsd.port.mk: we need no dependency for USE_RC_SUBR on 5.x
Sergey Matveychuk
sem at ciam.ru
Sat Jan 17 03:10:28 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list