From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 14 07:20:17 2003 Return-Path: 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 9291237B401 for ; Mon, 14 Jul 2003 07:20:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9425343FB1 for ; Mon, 14 Jul 2003 07:20:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6EEKGUp063046 for ; Mon, 14 Jul 2003 07:20:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6EEKGvE063045; Mon, 14 Jul 2003 07:20:16 -0700 (PDT) Resent-Date: Mon, 14 Jul 2003 07:20:16 -0700 (PDT) Resent-Message-Id: <200307141420.h6EEKGvE063045@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, Michael Edenfield Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13A7037B401 for ; Mon, 14 Jul 2003 07:10:56 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 861D643F93 for ; Mon, 14 Jul 2003 07:10:55 -0700 (PDT) (envelope-from root@kutulu.org) Received: by basement.kutulu.org (Postfix, from userid 0) id 918DAA9A9; Mon, 14 Jul 2003 10:11:05 -0400 (EDT) Message-Id: <20030714141105.918DAA9A9@basement.kutulu.org> Date: Mon, 14 Jul 2003 10:11:05 -0400 (EDT) From: Michael Edenfield To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/54475: due to changes in bsd.port.mk, ports no longer install on pre-4.7 releases. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Edenfield List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 14:20:17 -0000 >Number: 54475 >Category: ports >Synopsis: due to changes in bsd.port.mk, ports no longer install on pre-4.7 releases. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 14 07:20:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Michael Edenfield >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD basement.kutulu.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Jul 9 16:49:03 EDT 2003 root@basement.kutulu.org:/usr/obj/usr/src/sys/GATEWAY i386 >Description: bsd.port.mk now performs a check to see if the package is installed, using the pkg_info -O option. This option was not introduced into FreeBSD until 5.x and was only MFC'd back as far as 4.7-RELEASE. >How-To-Repeat: Try to build any new port on FreeBSD 4.6.x or earlier. >Fix: --- bsd.port.mk.5 Fri Jul 11 08:06:04 2003 +++ bsd.port.mk Mon Jul 14 10:06:00 2003 @@ -3007,7 +3007,7 @@ .if !target(check-already-installed) check-already-installed: -.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) +.if !defined(NO_PKG_REGISTER) && !defined(FORCE_PKG_REGISTER) && ${OSVERSION} >= 470000 @${ECHO_MSG} "===> Checking if ${PKGORIGIN} already installed" @already_installed=`${PKG_INFO} -q -O ${PKGORIGIN} 2> /dev/null`; \ if [ -n "$${already_installed}" ]; then \ >Release-Note: >Audit-Trail: >Unformatted: