From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 26 12:00:33 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA9A916A41F for ; Tue, 26 Jul 2005 12:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EF6E43D45 for ; Tue, 26 Jul 2005 12:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6QC0WGI084688 for ; Tue, 26 Jul 2005 12:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6QC0W5X084687; Tue, 26 Jul 2005 12:00:32 GMT (envelope-from gnats) Resent-Date: Tue, 26 Jul 2005 12:00:32 GMT Resent-Message-Id: <200507261200.j6QC0W5X084687@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Piet Delport Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B8B116A41F for ; Tue, 26 Jul 2005 11:53:51 +0000 (GMT) (envelope-from pjd@tickbox.ctn.hosting.co.za) Received: from tickbox.ctn.hosting.co.za (tickbox.ctn.hosting.co.za [196.36.153.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id E27EF43D45 for ; Tue, 26 Jul 2005 11:53:50 +0000 (GMT) (envelope-from pjd@tickbox.ctn.hosting.co.za) Received: by tickbox.ctn.hosting.co.za (Postfix, from userid 1001) id 0D4A4AC94; Tue, 26 Jul 2005 13:53:49 +0200 (SAST) Message-Id: <20050726115349.0D4A4AC94@tickbox.ctn.hosting.co.za> Date: Tue, 26 Jul 2005 13:53:49 +0200 (SAST) From: Piet Delport To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: rodrigc@crodrigues.org Subject: ports/84120: [PATCH] devel/apr contains stray sed -i X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jul 2005 12:00:33 -0000 >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: