Date: Fri, 4 Jul 2003 14:46:46 +0200 (CEST) From: Anton Berezin <tobez@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/54090: sed_inplace should be put in PATCH_DEPENDS Message-ID: <200307041246.h64CkkOl029610@svin.cc.cybercity.dk> Resent-Message-ID: <200307041250.h64CoEUr024455@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307041246.h64CkkOl029610>