Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 10:14:59 -0400
From:      Michael Edenfield <kutulu@kutulu.org>
To:        Tim Kellers <timothyk@mts-128.wallnet.com>
Cc:        Daryl Chance <chancedj@yahoo.com>
Subject:   Re: portupgrade/make install problem.
Message-ID:  <20030714141459.GA46586@basement.kutulu.org>
In-Reply-To: <20030714100030.E26064@mts-128.wallnet.com>
References:  <20030714133452.11195.qmail@web9602.mail.yahoo.com> <20030714100030.E26064@mts-128.wallnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Tim Kellers <timothyk@mts-128.wallnet.com> [030714 10:04]:
>=20
> Same problem I reported July 12, but with only one of my machines (a
> pentium I router/fileserver).  the other three boxes I built from the same
> cvs update (7/11/2003) don't have the problem.

The problem is that bsd.port.mk is trying to run:
   pkg_info -O <port origin>=20
to see if the port is already installed.  The -O option was only=20
merged back as far as 4.7, so your 4.6.2 machines are failing at that=20
point. =20

The fix is pretty simple, in bsd.port.mk just do (watch the line=20
wrap):

--- 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) && ${OSVERSI=
ON} >=3D 470000
                @${ECHO_MSG} "=3D=3D=3D>  Checking if ${PKGORIGIN} already =
installed"
                @already_installed=3D`${PKG_INFO} -q -O ${PKGORIGIN} 2> /de=
v/null`; \
                if [ -n "$${already_installed}" ]; then \

--Mike


--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/ErriCczNhKRsh48RAr/KAKCtubL9QKa2WjDluLAeEx9On5iTOwCfXi30
bVd4hiyXOwVvPuWvgXIPC/o=
=A0L4
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--



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