From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 2 14:00:40 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB96716A41F for ; Tue, 2 Aug 2005 14:00:40 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E951643D48 for ; Tue, 2 Aug 2005 14:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j72E0b8V020903 for ; Tue, 2 Aug 2005 14:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j72E0bWa020889; Tue, 2 Aug 2005 14:00:37 GMT (envelope-from gnats) Resent-Date: Tue, 2 Aug 2005 14:00:37 GMT Resent-Message-Id: <200508021400.j72E0bWa020889@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Brent B.Powers" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F16116A41F for ; Tue, 2 Aug 2005 13:54:03 +0000 (GMT) (envelope-from root@pathology.columbia.edu) Received: from mail.pathology.columbia.edu (service.pathology.columbia.edu [156.145.110.215]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E5A743D49 for ; Tue, 2 Aug 2005 13:54:02 +0000 (GMT) (envelope-from root@pathology.columbia.edu) Received: (qmail 61419 invoked by uid 0); 2 Aug 2005 13:54:00 -0000 Message-Id: <20050802135400.61418.qmail@mail.pathology.columbia.edu> Date: 2 Aug 2005 13:54:00 -0000 From: "Brent B.Powers" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/84482: Makefile error: linuxthreads does not build on 5.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2005 14:00:41 -0000 >Number: 84482 >Category: ports >Synopsis: Makefile error: linuxthreads does not build on 5.0 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 02 14:00:37 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Brent B. Powers >Release: FreeBSD 5.0-RELEASE i386 >Organization: Department of Pathology, Columbia University >Environment: System: FreeBSD service.pathology.columbia.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: Attempting to build /usr/ports/devel/linuxthreads gives: # make "Makefile", line 232: warning: String comparison operator should be either == or != "Makefile", line 232: Malformed conditional ((defined(NOPROFILE) && ${OSVERSION} < 600007) || (defined(NO_PROFILE) && ${OSVERSION} >= 600007)) "Makefile", line 232: Need an operator "Makefile", line 234: if-less else "Makefile", line 234: Need an operator "Makefile", line 236: if-less endif "Makefile", line 236: Need an operator "Makefile", line 237: warning: String comparison operator should be either == or != "Makefile", line 237: Malformed conditional ((defined(NOPIC) && ${OSVERSION} < 600007) || (defined(NO_PIC) && ${OSVERSION} >= 600007)) "Makefile", line 237: Need an operator "Makefile", line 239: if-less else "Makefile", line 239: Need an operator "Makefile", line 241: if-less endif "Makefile", line 241: Need an operator make: fatal errors encountered -- cannot continue >How-To-Repeat: attempt to build on 5.0 >Fix: Apply the following patch (Note that the patch only adds some spaces...) --- Makefile.orig Mon Jul 25 10:58:02 2005 +++ Makefile Tue Aug 2 09:38:56 2005 @@ -229,12 +229,12 @@ # @sh ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if (defined(NOPROFILE) && ${OSVERSION} < 600007) || (defined(NO_PROFILE) && ${OSVERSION} >= 600007) +.if (defined(NOPROFILE) && ${OSVERSION} < 600007 ) || (defined(NO_PROFILE) && ${OSVERSION} >= 600007 ) PLIST_SUB= PROFILE:="@comment " .else PLIST_SUB= PROFILE:="" .endif -.if (defined(NOPIC) && ${OSVERSION} < 600007) || (defined(NO_PIC) && ${OSVERSION} >= 600007) +.if (defined(NOPIC) && ${OSVERSION} < 600007 ) || (defined(NO_PIC) && ${OSVERSION} >= 600007 ) PLIST_SUB+= PIC:="@comment " .else PLIST_SUB+= PIC:="" >Release-Note: >Audit-Trail: >Unformatted: