ports/94161: lang/erlang: OSVERSION check too narrow - fix for old 5.x versions

Shaun Amott shaun at inerd.com
Tue Mar 7 10:10:06 UTC 2006


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



More information about the freebsd-ports-bugs mailing list