Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Mar 2006 10:04:39 -0000
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        olgeni@FreeBSD.org
Subject:   ports/94161: lang/erlang: OSVERSION check too narrow - fix for old 5.x versions
Message-ID:  <1141725879.932@charon.picobyte.net>
Resent-Message-ID: <200603071010.k27AA5E6015556@freefall.freebsd.org>

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

>Number:         94161
>Category:       ports
>Synopsis:       lang/erlang: OSVERSION check too narrow - fix for old 5.x versions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 07 10:10:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

FreeBSD 5.2.1-RELEASE-p13 #0: Sun Feb 13 03:06:15 GMT 2005 CUSTOM i386

>Description:

I attempted to build the lang/erlang port on a FreeBSD 5.2.1-RELEASE
machine, but it failed, giving linking errors to do with threading
libraries. The problem was resolved by defining WITHOUT_ODBC for the
port; this is already detected and automatically disabled for
OSVERSION < 500000; but, evidently, this test is too narrow.

>How-To-Repeat:

Build lang/erlang on a (horribly out of date) 5.2.1 machine.

>Fix:

Change relevant test to:

.if ${OSVERSION} < 502010
WITHOUT_ODBC=	yes
.endif

Unless anyone knows the exact version where the problem is resolved.
>Release-Note:
>Audit-Trail:
>Unformatted:



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