Date: 25 Aug 2003 11:08:58 -0000 From: Domas Mituzas <domas.mituzas@microlink.lt> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/55953: ports won't install on 4.6 and earlier systems Message-ID: <20030825110858.89756.qmail@watcher.delfi.lt> Resent-Message-ID: <200308251110.h7PBAD8w031132@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55953 >Category: ports >Synopsis: ports won't install on 4.6 and earlier systems >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 25 04:10:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Domas Mituzas >Release: FreeBSD 4.6.1-RELEASE i386 >Organization: MicroLink Data A.Juozapaviciaus 6/2 2005 Vilnius Lithuania >Environment: System: FreeBSD 4.6.1-RELEASE-p{$n} >Description: Ports do not get installed, as pkg_info syntax has been changed later, and the check code in bsd.port.mk uses newer version only if it is installed. It should install the newer pkg_ tools if they do not exist. >How-To-Repeat: Try installing any package under 4.6.1 or earlier system. >Fix: --- ports/Mk/bsd.port.mk.orig Mon Aug 25 13:01:46 2003 +++ ports/Mk/bsd.port.mk Mon Aug 25 13:03:05 2003 @@ -1702,8 +1702,7 @@ PKGORIGIN?= ${PKGCATEGORY}/${PORTDIRNAME} .endif -.if ${OSVERSION} < 460102 && ${PKGORIGIN} != "sysutils/pkg_install" \ - && exists(${LOCALBASE}/sbin/pkg_info) +.if ${OSVERSION} < 460102 && ${PKGORIGIN} != "sysutils/pkg_install" BUILD_DEPENDS+= ${LOCALBASE}/sbin/pkg_info:${PORTSDIR}/sysutils/pkg_install PKG_CMD?= ${LOCALBASE}/sbin/pkg_create PKG_ADD?= ${LOCALBASE}/sbin/pkg_add >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030825110858.89756.qmail>