From owner-freebsd-ports Sat Jul 27 6: 0:14 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 909E337B400 for ; Sat, 27 Jul 2002 06:00:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B79C43E65 for ; Sat, 27 Jul 2002 06:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6RD05JU040441 for ; Sat, 27 Jul 2002 06:00:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6RD05cZ040440; Sat, 27 Jul 2002 06:00:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A56C37B400 for ; Sat, 27 Jul 2002 05:51:42 -0700 (PDT) Received: from kajsa.energyhq.tk (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A5843E4A for ; Sat, 27 Jul 2002 05:51:37 -0700 (PDT) (envelope-from flynn@kajsa.energyhq.tk) Received: from kajsa.energyhq.tk (localhost [127.0.0.1]) by kajsa.energyhq.tk (8.12.5/8.12.5) with ESMTP id g6RCo1iK014215 for ; Sat, 27 Jul 2002 14:50:01 +0200 (CEST) (envelope-from flynn@kajsa.energyhq.tk) Received: (from flynn@localhost) by kajsa.energyhq.tk (8.12.5/8.12.5/Submit) id g6RCo1Xm014214; Sat, 27 Jul 2002 14:50:01 +0200 (CEST) Message-Id: <200207271250.g6RCo1Xm014214@kajsa.energyhq.tk> Date: Sat, 27 Jul 2002 14:50:01 +0200 (CEST) From: Miguel Mendez Reply-To: Miguel Mendez To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41042: Change print/acroread5 ln's command to -sf Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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