From 31ad27a8abed64244e7c8c97449b9653a5f03c0b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Wed, 29 May 2002 18:55:25 +0000 Subject: [PATCH] Set LATEST_LINK so that we don't have a race with acroread5. --- print/acroread4/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/print/acroread4/Makefile b/print/acroread4/Makefile index f0105c75be48..32e5c21f11ab 100644 --- a/print/acroread4/Makefile +++ b/print/acroread4/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ # -PORTNAME= acroread4 +PORTNAME= acroread PORTVERSION= 4.05 CATEGORIES= print linux MASTER_SITES= ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/4.x/ @@ -26,6 +26,7 @@ RUN_DEPENDS= /compat/osf1/usr/shlib/libc.so:${PORTSDIR}/emulators/osf1_base ONLY_FOR_ARCHS= i386 alpha +LATEST_LINK= acroread4 NO_FILTER_SHLIBS= yes .if ${ARCH} == "i386" @@ -67,6 +68,8 @@ post-install: ${PREFIX}/bin/acroread4 && ${RM} acroread.orig @${CHOWN} -R -h root:wheel ${PREFIX}/Acrobat4 @${CHMOD} +x ${PREFIX}/bin/acroread4 + [ -e ${PREFIX}/bin/acroread ] \ + || (cd ${PREFIX}/bin ; ${LN} -s acroread4 acroread) @${ECHO_MSG} "Be sure to read the license agreement in" @${ECHO_MSG} "${PREFIX}/Acrobat4/Reader/License.pdf"