From owner-freebsd-questions@FreeBSD.ORG Fri Jun 23 12:51:03 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52EC816A4A0 for ; Fri, 23 Jun 2006 12:51:03 +0000 (UTC) (envelope-from anrays@gmail.com) Received: from tor.farlep.net (tor.farlep.net [213.130.1.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6E3743D62 for ; Fri, 23 Jun 2006 12:50:53 +0000 (GMT) (envelope-from anrays@gmail.com) Received: from santinel.home.ua (nas-6-149.dialup.farlep.net [213.130.9.150]) by tor.farlep.net with ESMTP id k5NCoTBe016122; Fri, 23 Jun 2006 15:50:46 +0300 Received: from anray by santinel.home.ua with local (Exim 4.62; FreeBSD) id 1Fthkx-000DPa-4u; Fri, 23 Jun 2006 12:15:15 +0300 To: Andreas Wideroe Andersen References: <7.0.1.0.2.20060623105612.06592290@wideroe.net> From: Andrey Slusar Mail-Followup-To: Andreas Wideroe Andersen , freebsd-questions@freebsd.org Date: Fri, 23 Jun 2006 12:15:15 +0300 In-Reply-To: <7.0.1.0.2.20060623105612.06592290@wideroe.net> (Andreas Wideroe Andersen's message of "Fri, 23 Jun 2006 10:59:16 +0200") Message-ID: <86irmsw7vg.fsf@santinel.home.ua> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-SMTP-Vilter-Version: 1.1.8 X-SMTP-Vilter-Virus-Backend: clamd X-SMTP-Vilter-Status: clean X-SMTP-Vilter-clamd-Virus-Status: clean Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade install errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2006 12:51:03 -0000 Fri, 23 Jun 2006 10:59:16 +0200, Andreas Wideroe Andersen wrote: > I can't seem to install portupgrade on my system. I'm running 4.7 > STABLE (and I can't upgrade until later in July). > /usr/ports/sysutils/portupgrade #] make install clean > "/usr/ports/Mk/bsd.port.mk", line 1618: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 1618: Malformed conditional > (${OSVERSION} < 504105 || (${OSVERSION} >= 700000 && ${OSVERSION} < > 700012) || (${OSVERSION} >= 600000 && ${OSVERSION} < 600104)) > "/usr/ports/Mk/bsd.port.mk", line 1618: Missing dependency operator > "/usr/ports/Mk/bsd.port.mk", line 5651: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 5651: Need an operator > make: fatal errors encountered -- cannot continue > Any idea? Try this patch: --8<---------------cut here---------------start------------->8--- --- bsd.port.mk.orig Fri Jun 23 12:10:41 2006 +++ bsd.port.mk Fri Jun 23 12:11:30 2006 @@ -1613,11 +1613,7 @@ LDCONFIG32_DIR= libdata/ldconfig32 .if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32) -.if ${OSVERSION} < 504105 || \ - (${OSVERSION} >= 700000 && ${OSVERSION} < 700012) || \ - (${OSVERSION} >= 600000 && ${OSVERSION} < 600104) RUN_DEPENDS+= ${LOCALBASE}/${LDCONFIG_DIR}:${PORTSDIR}/misc/ldconfig_compat -.endif .if defined(USE_LDCONFIG) && ${USE_LDCONFIG:L} == "yes" USE_LDCONFIG= ${PREFIX}/lib .endif --8<---------------cut here---------------end--------------->8---