Replace ${PERL} with ${REINPLACE_CMD}. Regards, Olli
mega-patch for category astro. Obsoletes PR's ports/39274, and ports/39275. Regards, Olli Index: pyweather/Makefile =================================================================== RCS file: /home/ncvs/ports/astro/pyweather/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- pyweather/Makefile 29 Apr 2002 11:24:29 -0000 1.9 +++ pyweather/Makefile 16 Jun 2002 10:13:46 -0000 @@ -18,7 +18,7 @@ NO_BUILD= yes post-patch: - @${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ + @${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py do-install: Index: xephem/Makefile =================================================================== RCS file: /home/ncvs/ports/astro/xephem/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- xephem/Makefile 29 Jan 2002 09:33:24 -0000 1.28 +++ xephem/Makefile 16 Jun 2002 10:13:46 -0000 @@ -24,7 +24,7 @@ LIBIPSRC= ${WRKDIR}/${DISTNAME}/libip post-patch: - @${PERL} -pi -e 's|CC =|CC?=|g ; \ + @${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \ s|CFLAGS=|CFLAGS+=|g ; \ s|-O2 ||g' ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile
add USE_REINPLACE= yes Regards, Olli Index: pyweather/Makefile =================================================================== RCS file: /home/ncvs/ports/astro/pyweather/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- pyweather/Makefile 2002/04/29 11:24:29 1.9 +++ pyweather/Makefile 2002/06/19 23:07:31 @@ -14,11 +14,12 @@ MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_PYTHON= yes NO_BUILD= yes post-patch: - @${PERL} -pi -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ + @${REINPLACE_CMD} -e "s:/usr/bin/python:${PYTHON_CMD}:g ; \ s:pyWeather.py:pyWeather:g" ${WRKSRC}/pyWeather.py do-install: Index: xephem/Makefile =================================================================== RCS file: /home/ncvs/ports/astro/xephem/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- xephem/Makefile 2002/01/29 09:33:24 1.28 +++ xephem/Makefile 2002/06/19 23:07:31 @@ -18,13 +18,14 @@ USE_MOTIF= yes USE_IMAKE= yes +USE_REINPLACE= yes MAN1= xephem.1 LIBASTROSRC= ${WRKDIR}/${DISTNAME}/libastro LIBIPSRC= ${WRKDIR}/${DISTNAME}/libip post-patch: - @${PERL} -pi -e 's|CC =|CC?=|g ; \ + @${REINPLACE_CMD} -e 's|CC =|CC?=|g ; \ s|CFLAGS=|CFLAGS+=|g ; \ s|-O2 ||g' ${LIBASTROSRC}/Makefile ${LIBIPSRC}/Makefile
State Changed From-To: open->closed committed, thanks