Date: Tue, 26 Jul 2005 13:53:49 +0200 (SAST) From: Piet Delport <pjd@satori.za.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: rodrigc@crodrigues.org Subject: ports/84120: [PATCH] devel/apr contains stray sed -i Message-ID: <20050726115349.0D4A4AC94@tickbox.ctn.hosting.co.za> Resent-Message-ID: <200507261200.j6QC0W5X084687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 84120 >Category: ports >Synopsis: [PATCH] devel/apr contains stray sed -i >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 26 12:00:32 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Piet Delport >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: >Environment: >Description: (maintainer cc'd) devel/apr does not build on my FreeBSD 4.5 box, which does not understand "sed -i". >How-To-Repeat: >Fix: As far as i understand, ${REINPLACE} should be useed instead of ${SED} -i, as per the following patch: --- apr.patch begins here --- --- Makefile.orig Sun Jun 12 19:51:34 2005 +++ Makefile Tue Jul 26 13:19:08 2005 @@ -125,7 +125,7 @@ @${ECHO_MSG} "" post-patch: - ${SED} -i .orig1 's/OSVERSION/'${OSVERSION}'/g' \ + ${REINPLACE_CMD} -e 's/OSVERSION/'${OSVERSION}'/g' \ ${WRKDIR}/apr-${PORTVERSION}/build/apr_hints.m4 ${FIND} ${WRKDIR} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' --- apr.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050726115349.0D4A4AC94>