aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xephem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/xephem/Makefile')
-rw-r--r--astro/xephem/Makefile3
1 files changed, 2 insertions, 1 deletions
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