Date: Fri, 23 Jun 2006 12:15:15 +0300 From: Andrey Slusar <anrays@gmail.com> To: Andreas Wideroe Andersen <andreas-ml@wideroe.net> Cc: freebsd-questions@freebsd.org Subject: Re: Portupgrade install errors Message-ID: <86irmsw7vg.fsf@santinel.home.ua> 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 %2B0200") References: <7.0.1.0.2.20060623105612.06592290@wideroe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86irmsw7vg.fsf>