Skip site navigation (1)Skip section navigation (2)
Date:      2 Aug 2005 13:54:00 -0000
From:      "Brent B.Powers" <bbp2006@columbia.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/84482: Makefile error: linuxthreads does not build on 5.0
Message-ID:  <20050802135400.61418.qmail@mail.pathology.columbia.edu>
Resent-Message-ID: <200508021400.j72E0bWa020889@freefall.freebsd.org>

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

>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:



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