diff options
| -rw-r--r-- | meta-networking/recipes-filter/nftables/nftables_1.1.0.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.0.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.0.bb index 1dfaad494b..98e7a85a47 100644 --- a/meta-networking/recipes-filter/nftables/nftables_1.1.0.bb +++ b/meta-networking/recipes-filter/nftables/nftables_1.1.0.bb | |||
| @@ -24,16 +24,16 @@ PACKAGECONFIG[json] = "--with-json, --without-json, jansson" | |||
| 24 | PACKAGECONFIG[linenoise] = "--with-cli=linenoise, , linenoise, , , editline readline" | 24 | PACKAGECONFIG[linenoise] = "--with-cli=linenoise, , linenoise, , , editline readline" |
| 25 | PACKAGECONFIG[manpages] = "--enable-man-doc, --disable-man-doc, asciidoc-native" | 25 | PACKAGECONFIG[manpages] = "--enable-man-doc, --disable-man-doc, asciidoc-native" |
| 26 | PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp" | 26 | PACKAGECONFIG[mini-gmp] = "--with-mini-gmp, --without-mini-gmp" |
| 27 | PACKAGECONFIG[python] = ",, python3-setuptools-native" | 27 | PACKAGECONFIG[python] = "" |
| 28 | PACKAGECONFIG[readline] = "--with-cli=readline, , readline, , , editline linenoise" | 28 | PACKAGECONFIG[readline] = "--with-cli=readline, , readline, , , editline linenoise" |
| 29 | PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables" | 29 | PACKAGECONFIG[xtables] = "--with-xtables, --without-xtables, iptables" |
| 30 | 30 | ||
| 31 | EXTRA_OECONF = " \ | 31 | EXTRA_OECONF = " \ |
| 32 | ${@bb.utils.contains_any('PACKAGECONFIG', 'editline linenoise readline', '', '--without-cli', d)}" | 32 | ${@bb.utils.contains_any('PACKAGECONFIG', 'editline linenoise readline', '', '--without-cli', d)}" |
| 33 | 33 | ||
| 34 | SETUPTOOLS_SETUP_PATH = "${S}/py" | 34 | PEP517_SOURCE_PATH = "${S}/py" |
| 35 | 35 | ||
| 36 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'setuptools3', '', d)} | 36 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)} |
| 37 | 37 | ||
| 38 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" | 38 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" |
| 39 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | 39 | FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
| @@ -44,21 +44,21 @@ RDEPENDS:${PN}-python = "python3-core python3-json ${PN}" | |||
| 44 | do_configure() { | 44 | do_configure() { |
| 45 | autotools_do_configure | 45 | autotools_do_configure |
| 46 | if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then | 46 | if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then |
| 47 | setuptools3_do_configure | 47 | python_pep517_do_configure |
| 48 | fi | 48 | fi |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | do_compile() { | 51 | do_compile() { |
| 52 | autotools_do_compile | 52 | autotools_do_compile |
| 53 | if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then | 53 | if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then |
| 54 | setuptools3_do_compile | 54 | python_pep517_do_compile |
| 55 | fi | 55 | fi |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | do_install() { | 58 | do_install() { |
| 59 | autotools_do_install | 59 | autotools_do_install |
| 60 | if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then | 60 | if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then |
| 61 | setuptools3_do_install | 61 | python_pep517_do_install |
| 62 | fi | 62 | fi |
| 63 | } | 63 | } |
| 64 | 64 | ||
