ports/84120: [PATCH] devel/apr contains stray sed -i
Piet Delport
pjd at satori.za.net
Tue Jul 26 12:00:33 UTC 2005
>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:
More information about the freebsd-ports-bugs
mailing list