summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:16:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:16:37 +0000
commit9b646e86c33d57c3d495a4a0218969df75dcbd63 (patch)
tree3eb512e8ec3d4391090825660567134c28ed8db6 /astro
parentPERL -> REINPLACE_CMD (diff)
PERL -> REINPLACE_CMD
PR: 39275 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Notes
Notes: svn path=/head/; revision=62643
Diffstat (limited to 'astro')
-rw-r--r--astro/pyweather/Makefile3
-rw-r--r--astro/xephem/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/astro/pyweather/Makefile b/astro/pyweather/Makefile
index 5a0c42b7fac3..51499b424a0e 100644
--- a/astro/pyweather/Makefile
+++ b/astro/pyweather/Makefile
@@ -14,11 +14,12 @@ DISTNAME= pyWeather
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:
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile
index 72bca5131eb5..d83ee4b9053c 100644
--- a/astro/xephem/Makefile
+++ b/astro/xephem/Makefile
@@ -18,13 +18,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
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