Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2007 16:03:37 -0300
From:      "Pablo Mora" <bidjan@gmail.com>
To:        "Simon Gao" <gao@schrodinger.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Port installation failed
Message-ID:  <cf841d6b0702221103o4cba5247ic0eabc889342010d@mail.gmail.com>
In-Reply-To: <45DDDFD4.10900@schrodinger.com>
References:  <45DDDFD4.10900@schrodinger.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/22/07, Simon Gao <gao@schrodinger.com> wrote:
> Hi,
>
> I had following errors when trying to install a package through port on
> one FreeBSD 4.7 machine:
>
> # make install
> "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison
> operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison
> operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional
> (((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} <
> 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) &&
> ${PKGORIGIN} != "ports-mgmt/pkg_install") ||
> exists(${LOCALBASE}/sbin/pkg_info))
> "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison
> operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison
> operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional
> ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} <
> 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) &&
> ${PKGORIGIN} != "ports-mgmt/pkg_install")
> "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else
> "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator
> make: fatal errors encountered -- cannot continue
>
>
> Anyone has seen similar problem? It seems that bsd.port.mk is causing
> problem. Can I just replace bsd.port.mk file with one from other machines?
>
> Simon


http://lists.freebsd.org/pipermail/freebsd-questions/2007-February/142799.html

-- 
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf841d6b0702221103o4cba5247ic0eabc889342010d>