From owner-freebsd-questions@FreeBSD.ORG Tue Mar 21 21:48:37 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 662A916A420 for ; Tue, 21 Mar 2006 21:48:37 +0000 (UTC) (envelope-from matt@norex.ca) Received: from www.norex.ca (www.norex.ca [66.70.76.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D69ED43D46 for ; Tue, 21 Mar 2006 21:48:36 +0000 (GMT) (envelope-from matt@norex.ca) Received: (qmail 99069 invoked by uid 89); 21 Mar 2006 21:48:36 -0000 Received: from blk-224-201-18.eastlink.ca (HELO ?192.168.6.9?) (24.224.201.18) by www.norex.ca with SMTP; 21 Mar 2006 21:48:36 -0000 Message-ID: <442074A0.5050905@norex.ca> Date: Tue, 21 Mar 2006 17:48:16 -0400 From: Matt Rudderham User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Ports bsd.port.mk Broken? 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: Tue, 21 Mar 2006 21:48:37 -0000 Greetings all, Since recently cvsup'ing my ports collection I'm now getting the following error each time I try to make any port. I'm guessing it could be because the system is running FreeBSD 4.8. This is the error after trying to make a port: "/usr/ports/Mk/bsd.port.mk", line 5075: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 5075: Malformed conditional ((${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101))) "/usr/ports/Mk/bsd.port.mk", line 5075: Need an operator "/usr/ports/Mk/bsd.port.mk", line 5399: if-less endif "/usr/ports/Mk/bsd.port.mk", line 5399: Need an operator make: fatal errors encountered -- cannot continue bsd.port.mk (5075 on...) .if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101)) @for i in ${USE_RC_SUBR}; do \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${PREFIX}/etc/rc.d/$${i%.sh}; \ ${ECHO_CMD} "etc/rc.d/$${i%.sh}" >> ${TMPPLIST}; \ done .else @for i in ${USE_RC_SUBR}; do \ ${INSTALL_SCRIPT} ${WRKDIR}/$${i} ${PREFIX}/etc/rc.d/$${i%.sh}.sh; \ ${ECHO_CMD} "etc/rc.d/$${i%.sh}.sh" >> ${TMPPLIST}; \ done .endif .endif .else @${DO_NADA} .endif .endif # Compress (or uncompress) and symlink manpages.