This will restore the changes previously made, which will be a good starting point for the porting. The bmake command could also be used without options to attempt an immediate first compilation. But you might have to change some files first, like the GNU scripts for example.
-Suppose that the foo application of the collection is version 1.0. Let's go into the newly extracted source directory located right here<a name="AEN1" href="vkernel.shtml#FTN.AEN1">[1]</a>:
+Suppose that the foo application of the collection is version 1.0. Let's go into the newly extracted source directory located right here<a name="AEN1" href="#FTN.AEN1">[1]</a>:
cd /var/obj/pkgsrc/foo/bar/work/foo-1.0
### GNU Tools definition
-Porting code can focus on identifying available functions rather than on identifying host systems. A typical case would be the bcopy function, normally used instead of strcpy on BSD derivatives. Rather than referring to the host system, the code might look like this (from the GNU Autobook<a name="AEN2" href="vkernel.shtml#FTN.AEN2">[2]</a>):
+Porting code can focus on identifying available functions rather than on identifying host systems. A typical case would be the bcopy function, normally used instead of strcpy on BSD derivatives. Rather than referring to the host system, the code might look like this (from the GNU Autobook<a name="AEN2" href="#FTN.AEN2">[2]</a>):
#if !HAVE_STRCPY
# if HAVE_BCOPY
### The BSD4.4 Heritage
-Many developers are unaware that a BSD definition was created for BSD4.4 and it's derivatives, as DragonFly, FreeBSD and NetBSD. This definition is used like this (from pkgsrc developer's guide<a name="AEN3" href="vkernel.shtml#FTN.AEN3">[3]</a>):
+Many developers are unaware that a BSD definition was created for BSD4.4 and it's derivatives, as DragonFly, FreeBSD and NetBSD. This definition is used like this (from pkgsrc developer's guide<a name="AEN3" href="#FTN.AEN3">[3]</a>):
#include <sys/param.h>
#if (defined(BSD) && BSD >= 199306)
<tr>
<td align="LEFT" valign="TOP" width="5%">
<a name="FTN.AEN1"
- href="vkernel.shtml#AEN1">[1]
+ href="#AEN1">[1]
</a>
</td>
<td align="LEFT" valign="TOP">
<tr>
<td align="LEFT" valign="TOP" width="5%">
<a name="FTN.AEN2"
- href="vkernel.shtml#AEN2">[2]
+ href="#AEN2">[2]
</a>
</td>
<td align="LEFT" valign="TOP">
<tr>
<td align="LEFT" valign="TOP" width="5%">
<a name="FTN.AEN3"
- href="vkernel.shtml#AEN3">[3]
+ href="#AEN3">[3]
</a>
</td>
<td align="LEFT" valign="TOP">