osversion

2004-07-29 Thread Osmany Guirola Cruz
i foun these line in the Makefile of mono

.if ${OSVERSION}  50
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-signbit
.elif ${OSVERSION}  502113
IGNORE= Does not work on 5.X before 502113
.endif

how can i know if myosversion is greater than 502113




On Thursday 29 July 2004 15:48, Owen.G wrote:
 OK,

 On www.x.org they say that the latest version of their X implementation
 is X11R6.7.0.

 I don't see it on the Ports page on FreeBSD.org.  Is that because the
 ports page says:
 Last database update: 2004-07-16 08:54:22 UTC ?

 Owen
 

 Vulpes Velox wrote:
  On Thu, 29 Jul 2004 20:34:29 +0200
 
  Owen.G [EMAIL PROTECTED] wrote:
 Cheers Tilman,
 
 I just checked again on Ports for 5.2-CURRENT/i386 and
 5.2.1-RELEASE/i386:
 version = XFree86-4.3.0,1
 
  There has been some sort of problem getting XFree86 4.4 into the
  ports. Not sure what. But Xorg should work if it was supported XFree86
  4.4, since for all effective purposes XFree86 4.4 and Xorg whatever
  the current one is is the same thing... due to when the fork
  happened...

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: osversion

2004-07-29 Thread Lowell Gilbert
Osmany Guirola Cruz [EMAIL PROTECTED] writes:

 i foun these line in the Makefile of mono
 
 .if ${OSVERSION}  50
 EXTRA_PATCHES=  ${FILESDIR}/extra-patch-signbit
 .elif ${OSVERSION}  502113
 IGNORE= Does not work on 5.X before 502113
 .endif
 
 how can i know if myosversion is greater than 502113

sysctl -n kern.osreldate

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OSVERSION

2004-06-03 Thread Thorsten von Plotho-Kettner
On Wed, 2 Jun 2004 12:08:36 +0100
Edd [EMAIL PROTECTED] wrote:

 a) How might i find my OSVERSION. I have tried echo $OSVERSION.

uname -a

Regards,
Thorsten
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OSVERSION

2004-06-03 Thread Thorsten von Plotho-Kettner
On Wed, 2 Jun 2004 12:08:36 +0100
Edd [EMAIL PROTECTED] wrote:

 a) How might i find my OSVERSION. I have tried echo $OSVERSION.

uname -a

Regards,
Thorsten
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OSVERSION

2004-06-02 Thread Edd

Greetings List,

Couple of quick queries.

a) How might i find my OSVERSION. I have tried echo $OSVERSION.

b) I am trying to compile ardour (manually) . It tells me that I need
posix threads support. What do I need to install?

Thankyou
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OSVERSION

2004-06-02 Thread Jorn Argelo
Edd wrote:
Greetings List,
Couple of quick queries.
a) How might i find my OSVERSION. I have tried echo $OSVERSION.
 

uname -a
b) I am trying to compile ardour (manually) . It tells me that I need
posix threads support. What do I need to install?
 

No idea.
Cheers,
Jorn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OSVERSION

2004-06-02 Thread Matthew Seaman
On Wed, Jun 02, 2004 at 12:08:36PM +0100, Edd wrote:

 Couple of quick queries.
 
 a) How might i find my OSVERSION. I have tried echo $OSVERSION.

The standard way of doing this is:

% uname -r

There's also:

% sysctl kern.osreldate

or in the special case of dealing with ports, you can just run:

% make -VOSVERSION

in any port directory.
 
 b) I am trying to compile ardour (manually) . It tells me that I need
 posix threads support. What do I need to install?

The answer depends on what version of FreeBSD you are running.

For 4.x: add -D_THREAD_SAFE to the compile flags when compiling the
code, and add -pthread at the linking stage.

For 5.x at or earlier than about 5.2 use -D_THREAD_SAFE on
compilation, but add -lc_r to the link flags.

For 5.x after that, no extra compile flags are necessary, but you
should add -lpthreads to the link line.

The precise bounduaries where those sets of flags change can be
obtained from /usr/port/Mk/bsd.ports.mk:

.if ${OSVERSION}  500016
PTHREAD_CFLAGS?=-D_THREAD_SAFE
PTHREAD_LIBS?=  -pthread
.elif ${OSVERSION}  502102
PTHREAD_CFLAGS?=-D_THREAD_SAFE
PTHREAD_LIBS?=  -lc_r
.else
PTHREAD_CFLAGS?=
PTHREAD_LIBS?=  -lpthread
.endif

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpqXoZ6Tee3I.pgp
Description: PGP signature