Date: Sat, 27 Jul 2002 14:50:01 +0200 (CEST) From: Miguel Mendez <flynn@energyhq.homeip.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/41042: Change print/acroread5 ln's command to -sf Message-ID: <200207271250.g6RCo1Xm014214@kajsa.energyhq.tk>
next in thread | raw e-mail | index | archive | help
>Number: 41042 >Category: ports >Synopsis: Change print/acroread5 ln's command to -sf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 27 06:00:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Miguel Mendez >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD kajsa.energyhq.tk 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Jul 19 21:27:07 CEST 2002 root@kajsa.energyhq.tk:/usr/obj/usr/src/sys/KAJSA i386 >Description: If one installs acroread4 (or had it installed) , pkg_deletes the port and tries to install acroread5, the installation will fail since the old symbolic is still there. >How-To-Repeat: cd /usr/ports/print/acroread4 && make install clean; pkg_delete acroread4 ;\ cd /usr/ports/print/acroread5 && make install clean >Fix: --- acroread5.diff begins here --- diff -ruN acroread5.old/Makefile acroread5/Makefile --- acroread5.old/Makefile Fri Jul 26 00:33:43 2002 +++ acroread5/Makefile Sat Jul 27 14:39:01 2002 @@ -54,7 +54,7 @@ @${CHOWN} -R -h root:wheel ${PREFIX}/Acrobat5 @${CHMOD} +x ${PREFIX}/bin/acroread5 [ -e ${PREFIX}/bin/acroread ] \ - || (cd ${PREFIX}/bin ; ${LN} -s acroread5 acroread) + || (cd ${PREFIX}/bin ; ${LN} -sf acroread5 acroread) @${ECHO_MSG} "Be sure to read the license agreement in" @${ECHO_MSG} "${PREFIX}/Acrobat5/Reader/license.txt" --- acroread5.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207271250.g6RCo1Xm014214>