version 1.1, 2020/11/10 19:23:13
|
version 1.4, 2020/11/10 19:41:22
|
Line 14 Basics
|
Line 14 Basics
|
|
|
You won't need the following, so delete them: |
You won't need the following, so delete them: |
|
|
GNU_CONFIUGRE= yes |
GNU_CONFIGURE= yes |
USE_LIBTOOL= yes |
USE_LIBTOOL= yes |
|
|
Neither meson or cmake (another increasingly popular alternative) uses |
Neither meson or cmake (another increasingly popular alternative) uses |
Line 40 and msgfmt. If your package uses `i18n.g
|
Line 40 and msgfmt. If your package uses `i18n.g
|
it needs xgettext, and if it uses `i18n.merge_file` it needs msgfmt. |
it needs xgettext, and if it uses `i18n.merge_file` it needs msgfmt. |
It's easy to check this with grep. |
It's easy to check this with grep. |
|
|
gettext issues on NetBSD |
|
------------------------ |
|
|
|
NetBSD includes an (old, pre-GPLv3?) version of msgfmt. This doesn't |
|
have the new --desktop or --xml flags, so you'll get a build error |
|
if a package attempts to use these. |
|
|
|
There's an easy workaround: |
|
|
|
.include "../../mk/bsd.prefs.mk" |
|
|
|
# msgfmt: unknown option -- desktop |
|
.if ${OPSYS} == "NetBSD" |
|
TOOLS_PLATFORM.msgfmt= |
|
.endif |
|
|
|
Python |
Python |
------ |
------ |
|
|
Line 72 execute scripts during the build, you sh
|
Line 56 execute scripts during the build, you sh
|
This will automatically create a python executable with the appropriate |
This will automatically create a python executable with the appropriate |
suffix (or lack of suffix) for the duration of the build. |
suffix (or lack of suffix) for the duration of the build. |
|
|
Flags |
|
----- |
|
|
|
Flags of the following form: |
|
|
|
CONFIGURE_ARGS+= --enable-opengl |
|
|
|
Generally now take the following form: |
|
|
|
MESON_ARGS+= -Dopengl=true |
|
|
|
pkgconfig overrides |
pkgconfig overrides |
------------------- |
------------------- |
|
|
Line 101 path for libraries.
|
Line 74 path for libraries.
|
|
|
Remove any old references to nonexistent .pc files from the old |
Remove any old references to nonexistent .pc files from the old |
build system in the PKGCONFIG_OVERRIDE. |
build system in the PKGCONFIG_OVERRIDE. |
|
|
|
gettext issues on NetBSD |
|
------------------------ |
|
|
|
NetBSD includes an (old, pre-GPLv3?) version of msgfmt. This doesn't |
|
have the new --desktop or --xml flags, so you'll get a build error |
|
if a package attempts to use these. |
|
|
|
There's an easy workaround: |
|
|
|
.include "../../mk/bsd.prefs.mk" |
|
|
|
# msgfmt: unknown option -- desktop |
|
.if ${OPSYS} == "NetBSD" |
|
TOOLS_PLATFORM.msgfmt= |
|
.endif |
|
|
|
Flags |
|
----- |
|
|
|
Flags of the following form: |
|
|
|
CONFIGURE_ARGS+= --enable-opengl |
|
|
|
Generally now take the following form: |
|
|
|
MESON_ARGS+= -Dopengl=true |
|
|
|
Check the `meson_options.txt` file. |