From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 15 21:02:31 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50B3716A418 for ; Sat, 15 Apr 2006 21:02:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1510F43D4C for ; Sat, 15 Apr 2006 21:00:55 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3FL0XBW079219 for ; Sat, 15 Apr 2006 21:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3FL0XCM079214; Sat, 15 Apr 2006 21:00:33 GMT (envelope-from gnats) Resent-Date: Sat, 15 Apr 2006 21:00:33 GMT Resent-Message-Id: <200604152100.k3FL0XCM079214@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergey Matveychuk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 115AE16A400 for ; Sat, 15 Apr 2006 20:59:15 +0000 (UTC) (envelope-from sem@ciam.ru) Received: from mail.ciam.ru (ns.ciam.ru [213.247.195.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9A9A43D55 for ; Sat, 15 Apr 2006 20:58:50 +0000 (GMT) (envelope-from sem@ciam.ru) Received: from sem by mail.ciam.ru with local (Exim 4.x) id 1FUrr0-000I6q-1t for FreeBSD-gnats-submit@freebsd.org; Sun, 16 Apr 2006 00:58:50 +0400 Message-Id: Date: Sun, 16 Apr 2006 00:58:50 +0400 From: Sergey Matveychuk Sender: Sergey Matveychuk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/95841: bsd.port.mk: remove a legacy code which sets FORCE_PKG_REGISTER=yes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sergey Matveychuk List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 21:02:32 -0000 >Number: 95841 >Category: ports >Synopsis: bsd.port.mk: remove a legacy code which sets FORCE_PKG_REGISTER=yes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 15 21:00:33 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Sergey Matveychuk >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD sprite.ciam.ru 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Jan 24 10:46:38 MSK 2006 root@sprite.ciam.ru:/usr/obj/usr/src/sys/PROXY i386 >Description: We have a legacy code was added more than 6.5 years ago. The code adds FORCE_PKG_REGISTER=yes in DEPENDS_ARGS knob. A reason for the code was to overwrite an exist port instalation. Now we have portupgrade tool and the code prevent us of right working of the tool - we have got stale ports records as a result. >How-To-Repeat: If you have an old expat2 version: cd /usr/ports/net/asterisks-devel make install You silently will have two records for expat2. >Fix: --- bsd.port.mk.diff begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.529 diff -u -r1.529 bsd.port.mk --- bsd.port.mk 23 Feb 2006 15:37:20 -0000 1.529 +++ bsd.port.mk 15 Apr 2006 20:43:46 -0000 @@ -2925,12 +2925,6 @@ DEPENDS_TARGET+= clean DEPENDS_ARGS+= NOCLEANDEPENDS=yes .endif -.else -DEPENDS_ARGS+= FORCE_PKG_REGISTER=yes -.endif -.if defined(DEPENDS) -# pretty much guarantees overwrite of existing installation -.MAKEFLAGS: FORCE_PKG_REGISTER=yes .endif ################################################################ --- bsd.port.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: