ports/54475: due to changes in bsd.port.mk, ports no longer install on pre-4.7 releases.
Michael Edenfield
kutulu at kutulu.org
Mon Jul 14 14:20:17 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list