aboutsummaryrefslogtreecommitdiff
path: root/astro/xephem
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/xephem
parent0df5b5676900f6f7637b360f90f947160da2862e (diff)
downloadports-9b646e86c33d57c3d495a4a0218969df75dcbd63.tar.gz
ports-9b646e86c33d57c3d495a4a0218969df75dcbd63.zip
Notes
Diffstat (limited to 'astro/xephem')
-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