Bug 94161 - lang/erlang: OSVERSION check too narrow - fix for old 5.x versions
Summary: lang/erlang: OSVERSION check too narrow - fix for old 5.x versions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 10:10 UTC by Shaun Amott
Modified: 2006-03-20 19:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Amott 2006-03-07 10:10:05 UTC
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.

Fix: 

Change relevant test to:

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

Unless anyone knows the exact version where the problem is resolved.
How-To-Repeat: 
Build lang/erlang on a (horribly out of date) 5.2.1 machine.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-03-07 10:16:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olgeni

Over to maintainer
Comment 2 Jimmy Olgeni freebsd_committer freebsd_triage 2006-03-20 19:54:53 UTC
State Changed
From-To: open->closed

The port was fixed using OSVERSION < 502102 (new threading libraries.)