From owner-cvs-all@FreeBSD.ORG Sat Feb 18 16:58:21 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEED116A420; Sat, 18 Feb 2006 16:58:21 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80D6F43D48; Sat, 18 Feb 2006 16:58:21 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1IGwLbb049668; Sat, 18 Feb 2006 16:58:21 GMT (envelope-from netchild@repoman.freebsd.org) Received: (from netchild@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1IGwL6f049667; Sat, 18 Feb 2006 16:58:21 GMT (envelope-from netchild) Message-Id: <200602181658.k1IGwL6f049667@repoman.freebsd.org> From: Alexander Leidinger Date: Sat, 18 Feb 2006 16:58:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src Makefile.inc1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 16:58:21 -0000 netchild 2006-02-18 16:58:21 UTC FreeBSD src repository Modified files: . Makefile.inc1 Log: A file can also be a link, so check not only for a file, but also for a link in the delete-old and check-old targets. We don't install a lib (libXY.so.Z) as a link, but an user may have created something like this. This is dangerous if this link points to a different version of the lib. So check for a link also in the *-lib targets (an annoyed user which absolutely wants this redirection of a lib should use libmap.conf instead of a link). A directory can also be a link, but in this case just echo a message to remove it by hand. Revision Changes Path 1.535 +36 -14 src/Makefile.inc1