ports/55953: ports won't install on 4.6 and earlier systems

Domas Mituzas domas.mituzas at microlink.lt
Mon Aug 25 11:10:15 UTC 2003

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 25 04:10:12 PDT 2003
>Originator:     Domas Mituzas
>Release:        FreeBSD 4.6.1-RELEASE i386
MicroLink Data
A.Juozapaviciaus 6/2
2005 Vilnius
System: FreeBSD 4.6.1-RELEASE-p{$n}

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. 
	Try installing any package under 4.6.1 or earlier system.

--- 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 @@

-.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


More information about the freebsd-ports-bugs mailing list