aboutsummaryrefslogtreecommitdiff
path: root/print/acroread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/acroread/Makefile')
-rw-r--r--print/acroread/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/print/acroread/Makefile b/print/acroread/Makefile
index dc399c479efe..bf595a7404a5 100644
--- a/print/acroread/Makefile
+++ b/print/acroread/Makefile
@@ -30,6 +30,7 @@ RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base
ONLY_FOR_ARCHS= i386 alpha
NO_FILTER_SHLIBS= yes
+USE_REINPLACE= yes
.if ${ARCH} == "i386"
WRKSRC= ${WRKDIR}/ILINXR.install
@@ -41,9 +42,9 @@ PLIST_SUB= "ARCHDIR=alphaosf"
pre-configure:
.if ${ARCH} == "i386"
- @${PERL} -pi.fbsd -e 's:Linux\):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
+ @${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${WRKSRC}/INSTALL
.elif ${ARCH} == "alpha"
- @${PERL} -pi.fbsd -e 's:OSF1\):FreeBSD|OSF1):g' ${WRKSRC}/INSTALL
+ @${REINPLACE_CMD} -e 's:OSF1\):FreeBSD|OSF1):g' ${WRKSRC}/INSTALL
.endif
do-build:
@@ -55,10 +56,10 @@ do-install:
post-install:
.if ${ARCH} == "i386"
- @${PERL} -pi -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat3/bin/acroread
+ @${REINPLACE_CMD} -e 's:Linux\):FreeBSD|Linux):g' ${PREFIX}/Acrobat3/bin/acroread
@brandelf -t Linux ${PREFIX}/Acrobat3/Reader/intellinux/bin/acroread
.elif ${ARCH} == "alpha"
- @${PERL} -pi -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat3/bin/acroread
+ @${REINPLACE_CMD} -e 's:OSF1\):FreeBSD|OSF1):g' ${PREFIX}/Acrobat3/bin/acroread
.endif
@cd ${PREFIX}/Acrobat3/bin && \
${PATCH} --quiet < ${FILESDIR}/acroread.diff && \