ports/54090: sed_inplace should be put in PATCH_DEPENDS
Anton Berezin
tobez at FreeBSD.org
Fri Jul 4 12:50:17 UTC 2003
>Number: 54090
>Category: ports
>Synopsis: sed_inplace should be put in PATCH_DEPENDS
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 04 05:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Anton Berezin
>Release: FreeBSD 4.8-RC i386
>Organization:
>Environment:
>Description:
On older systems, such as FreeBSD 4.5, sed_inplace is installed as a
dependency if USE_REINPLACE is set. Quite often REINPLACE_CMD is used
before the BUILD_DEPENDS dependencies are taken care of.
>How-To-Repeat:
On a 4.5 system with a modern ports collection,
cd /usr/ports/net-snmp
make patch
>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.454
diff -u -r1.454 bsd.port.mk
--- bsd.port.mk 26 Jun 2003 22:58:21 -0000 1.454
+++ bsd.port.mk 4 Jul 2003 12:29:34 -0000
@@ -1467,7 +1467,7 @@
.if defined(USE_REINPLACE)
REINPLACE_ARGS?= -i.bak
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500036 )
-BUILD_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
+PATCH_DEPENDS+= ${LOCALBASE}/bin/sed_inplace:${PORTSDIR}/textproc/sed_inplace
REINPLACE_CMD?= ${LOCALBASE}/bin/sed_inplace ${REINPLACE_ARGS}
.else
REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list