aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-08 18:16:37 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-08 18:16:37 +0800
commitcde117293fcf37aa19d9f54acecb0887be0a0d25 (patch)
tree0ea47e93428c0caacb356d4c343445759d8f670a /astro
parentb89886fe2bfd14cafd04aa8f5de087dfcc3c1cfb (diff)
downloadfreebsd-ports-gnome-cde117293fcf37aa19d9f54acecb0887be0a0d25.tar.gz
freebsd-ports-gnome-cde117293fcf37aa19d9f54acecb0887be0a0d25.tar.zst
freebsd-ports-gnome-cde117293fcf37aa19d9f54acecb0887be0a0d25.zip
PERL -> REINPLACE_CMD
PR: 39275 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
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