| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | <!-- $NetBSD: fixes.xml,v 1.177 2022/05/21 11:56:14 nia Exp $ --> | | 1 | <!-- $NetBSD: fixes.xml,v 1.178 2022/05/21 15:38:19 nia Exp $ --> |
2 | | | 2 | |
3 | <chapter id="fixes"> <?dbhtml filename="fixes.html"?> | | 3 | <chapter id="fixes"> <?dbhtml filename="fixes.html"?> |
4 | <title>Making your package work</title> | | 4 | <title>Making your package work</title> |
5 | | | 5 | |
6 | <sect1 id="general-operation"> | | 6 | <sect1 id="general-operation"> |
7 | <title>General operation</title> | | 7 | <title>General operation</title> |
8 | | | 8 | |
9 | <para>One appealing feature of pkgsrc is that it runs on many | | 9 | <para>One appealing feature of pkgsrc is that it runs on many |
10 | different platforms. As a result, it is important to ensure, | | 10 | different platforms. As a result, it is important to ensure, |
11 | where possible, that packages in pkgsrc are portable. This | | 11 | where possible, that packages in pkgsrc are portable. This |
12 | chapter mentions some particular details you should pay | | 12 | chapter mentions some particular details you should pay |
13 | attention to while working on pkgsrc.</para> | | 13 | attention to while working on pkgsrc.</para> |
14 | | | 14 | |
| @@ -1673,27 +1673,26 @@ MESON_ARGS+= -Dx11=false | | | @@ -1673,27 +1673,26 @@ MESON_ARGS+= -Dx11=false |
1673 | Cygwin __CYGWIN__ | | 1673 | Cygwin __CYGWIN__ |
1674 | DragonFly __DragonFly__ | | 1674 | DragonFly __DragonFly__ |
1675 | FreeBSD __FreeBSD__ | | 1675 | FreeBSD __FreeBSD__ |
1676 | Haiku __HAIKU__ | | 1676 | Haiku __HAIKU__ |
1677 | Interix __INTERIX | | 1677 | Interix __INTERIX |
1678 | IRIX __sgi (TODO: get a definite source for this) | | 1678 | IRIX __sgi (TODO: get a definite source for this) |
1679 | Linux __linux | | 1679 | Linux __linux |
1680 | Mac OS X __APPLE__ | | 1680 | Mac OS X __APPLE__ |
1681 | MirBSD __MirBSD__ (__OpenBSD__ is also defined) | | 1681 | MirBSD __MirBSD__ (__OpenBSD__ is also defined) |
1682 | Minix3 __minix | | 1682 | Minix3 __minix |
1683 | NetBSD __NetBSD__ | | 1683 | NetBSD __NetBSD__ |
1684 | OpenBSD __OpenBSD__ | | 1684 | OpenBSD __OpenBSD__ |
1685 | Solaris sun, __sun | | 1685 | Solaris sun, __sun |
1686 | Unix(-like) __unix | | | |
1687 | </programlisting> | | 1686 | </programlisting> |
1688 | | | 1687 | |
1689 | </sect3> | | 1688 | </sect3> |
1690 | <sect3 id="fixes.build.cpp.arch"> | | 1689 | <sect3 id="fixes.build.cpp.arch"> |
1691 | <title>C preprocessor macros to identify the hardware architecture</title> | | 1690 | <title>C preprocessor macros to identify the hardware architecture</title> |
1692 | | | 1691 | |
1693 | <programlisting> | | 1692 | <programlisting> |
1694 | i386 i386, __i386, __i386__ | | 1693 | i386 i386, __i386, __i386__ |
1695 | x86-64 __amd64__, __x86_64__ | | 1694 | x86-64 __amd64__, __x86_64__ |
1696 | ARM __arm__ | | 1695 | ARM __arm__ |
1697 | MIPS __mips | | 1696 | MIPS __mips |
1698 | SPARC sparc, __sparc | | 1697 | SPARC sparc, __sparc |
1699 | PowerPC __powerpc | | 1698 | PowerPC __powerpc |