Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 1996 20:34:23 +1000 (EST)
From:      Julian Jenkins <kaveman@magna.com.au>
To:        ports@FreeBSD.org
Subject:   Questions on porting process
Message-ID:  <Pine.BSF.3.91.960328201733.942A-100000@kavemachine.magna.com.au>

next in thread | raw e-mail | index | archive | help
I have managed to get spice3f4 working on my system and thought I would 
make a port of it. I have a few questions however.

Spice attempts to perform some sort of check to find out the size of its
data segment. When it does this it it dies with a segmentation violation. I
can disable this by setting an environment variable
(SPICE_NO_DATASEG_CHECK). Would it be better to modify the code so that this
is not done anyway or ensure that the environment variable is set?

If the code is eliminated should I make a minimum change equivelent to 
SPICE_NO_DATASEG_CHECK being found or try to eliminate all the code that 
is only used here as possible (using #ifdefs of course)?

If I should be ensuring that the environment variable is set, where should I
set it? write a wrapper shell script? modify the system .login and .profile?

The documentation for creating a port says that any conditonal compilation
should be done with #ifdefs appropriate for the most general case (ie. not
just using _FREEBSD_). How do I find out what the most general case is?

Kaveman
kaveman@magna.com.au



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960328201733.942A-100000>