diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-support/nss | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/nss')
| -rw-r--r-- | meta-oe/recipes-support/nss/nss_3.64.bb | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/meta-oe/recipes-support/nss/nss_3.64.bb b/meta-oe/recipes-support/nss/nss_3.64.bb index 98be21d40e..c935c6a2ae 100644 --- a/meta-oe/recipes-support/nss/nss_3.64.bb +++ b/meta-oe/recipes-support/nss/nss_3.64.bb | |||
| @@ -9,7 +9,7 @@ HOMEPAGE = "http://www.mozilla.org/projects/security/pki/nss/" | |||
| 9 | SECTION = "libs" | 9 | SECTION = "libs" |
| 10 | 10 | ||
| 11 | DEPENDS = "sqlite3 nspr zlib nss-native" | 11 | DEPENDS = "sqlite3 nspr zlib nss-native" |
| 12 | DEPENDS_class-native = "sqlite3-native nspr-native zlib-native" | 12 | DEPENDS:class-native = "sqlite3-native nspr-native zlib-native" |
| 13 | 13 | ||
| 14 | LICENSE = "(MPL-2.0 & MIT) | (MPL-2.0 & GPL-2.0+ & MIT) | (MPL-2.0 & LGPL-2.1+ & MIT)" | 14 | LICENSE = "(MPL-2.0 & MIT) | (MPL-2.0 & GPL-2.0+ & MIT) | (MPL-2.0 & LGPL-2.1+ & MIT)" |
| 15 | 15 | ||
| @@ -45,30 +45,30 @@ TDS = "${S}/tentative-dist-staging" | |||
| 45 | 45 | ||
| 46 | TARGET_CC_ARCH += "${LDFLAGS}" | 46 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 47 | 47 | ||
| 48 | CFLAGS_append_class-native = " -D_XOPEN_SOURCE " | 48 | CFLAGS:append:class-native = " -D_XOPEN_SOURCE " |
| 49 | 49 | ||
| 50 | do_configure_prepend_libc-musl () { | 50 | do_configure:prepend:libc-musl () { |
| 51 | sed -i -e '/-DHAVE_SYS_CDEFS_H/d' ${S}/nss/lib/dbm/config/config.mk | 51 | sed -i -e '/-DHAVE_SYS_CDEFS_H/d' ${S}/nss/lib/dbm/config/config.mk |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | do_configure_prepend_powerpc64le_toolchain-clang () { | 54 | do_configure:prepend:powerpc64le:toolchain-clang () { |
| 55 | sed -i -e 's/\-std=c99/\-std=gnu99/g' ${S}/nss/coreconf/command.mk | 55 | sed -i -e 's/\-std=c99/\-std=gnu99/g' ${S}/nss/coreconf/command.mk |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | do_configure_prepend_powerpc64_toolchain-clang () { | 58 | do_configure:prepend:powerpc64:toolchain-clang () { |
| 59 | sed -i -e 's/\-std=c99/\-std=gnu99/g' ${S}/nss/coreconf/command.mk | 59 | sed -i -e 's/\-std=c99/\-std=gnu99/g' ${S}/nss/coreconf/command.mk |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | do_compile_prepend_class-native() { | 62 | do_compile:prepend:class-native() { |
| 63 | export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE}/nspr | 63 | export NSPR_INCLUDE_DIR=${STAGING_INCDIR_NATIVE}/nspr |
| 64 | export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} | 64 | export NSPR_LIB_DIR=${STAGING_LIBDIR_NATIVE} |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | do_compile_prepend_class-nativesdk() { | 67 | do_compile:prepend:class-nativesdk() { |
| 68 | export LDFLAGS="" | 68 | export LDFLAGS="" |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | do_compile_prepend_class-native() { | 71 | do_compile:prepend:class-native() { |
| 72 | # Need to set RPATH so that chrpath will do its job correctly | 72 | # Need to set RPATH so that chrpath will do its job correctly |
| 73 | RPATH="-Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} -Wl,-rpath-link,${STAGING_BASE_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE}" | 73 | RPATH="-Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} -Wl,-rpath-link,${STAGING_BASE_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE}" |
| 74 | } | 74 | } |
| @@ -138,7 +138,7 @@ do_compile() { | |||
| 138 | 138 | ||
| 139 | do_compile[vardepsexclude] += "SITEINFO_BITS" | 139 | do_compile[vardepsexclude] += "SITEINFO_BITS" |
| 140 | 140 | ||
| 141 | do_install_prepend_class-nativesdk() { | 141 | do_install:prepend:class-nativesdk() { |
| 142 | export LDFLAGS="" | 142 | export LDFLAGS="" |
| 143 | } | 143 | } |
| 144 | 144 | ||
| @@ -215,7 +215,7 @@ do_install() { | |||
| 215 | 215 | ||
| 216 | do_install[vardepsexclude] += "SITEINFO_BITS" | 216 | do_install[vardepsexclude] += "SITEINFO_BITS" |
| 217 | 217 | ||
| 218 | do_install_append() { | 218 | do_install:append() { |
| 219 | # Create empty .chk files for the NSS libraries at build time. They could | 219 | # Create empty .chk files for the NSS libraries at build time. They could |
| 220 | # be regenerated at target's boot time. | 220 | # be regenerated at target's boot time. |
| 221 | for file in libsoftokn3.chk libfreebl3.chk libnssdbm3.chk; do | 221 | for file in libsoftokn3.chk libfreebl3.chk libnssdbm3.chk; do |
| @@ -231,7 +231,7 @@ do_install_append() { | |||
| 231 | sed -i s:OEINCDIR:${includedir}/nss3:g ${D}${libdir}/pkgconfig/nss.pc | 231 | sed -i s:OEINCDIR:${includedir}/nss3:g ${D}${libdir}/pkgconfig/nss.pc |
| 232 | } | 232 | } |
| 233 | 233 | ||
| 234 | do_install_append_class-target() { | 234 | do_install:append:class-target() { |
| 235 | # It used to call certutil to create a blank certificate with empty password at | 235 | # It used to call certutil to create a blank certificate with empty password at |
| 236 | # build time, but the checksum of key4.db changes every time when certutil is called. | 236 | # build time, but the checksum of key4.db changes every time when certutil is called. |
| 237 | # It causes non-determinism issue, so provide databases with a blank certificate | 237 | # It causes non-determinism issue, so provide databases with a blank certificate |
| @@ -246,7 +246,7 @@ do_install_append_class-target() { | |||
| 246 | 246 | ||
| 247 | PACKAGE_WRITE_DEPS += "nss-native" | 247 | PACKAGE_WRITE_DEPS += "nss-native" |
| 248 | 248 | ||
| 249 | pkg_postinst_${PN} () { | 249 | pkg_postinst:${PN} () { |
| 250 | for I in $D${libdir}/lib*.chk; do | 250 | for I in $D${libdir}/lib*.chk; do |
| 251 | DN=`dirname $I` | 251 | DN=`dirname $I` |
| 252 | BN=`basename $I .chk` | 252 | BN=`basename $I .chk` |
| @@ -259,24 +259,24 @@ pkg_postinst_${PN} () { | |||
| 259 | } | 259 | } |
| 260 | 260 | ||
| 261 | PACKAGES =+ "${PN}-smime" | 261 | PACKAGES =+ "${PN}-smime" |
| 262 | FILES_${PN}-smime = "\ | 262 | FILES:${PN}-smime = "\ |
| 263 | ${bindir}/smime \ | 263 | ${bindir}/smime \ |
| 264 | " | 264 | " |
| 265 | 265 | ||
| 266 | FILES_${PN} = "\ | 266 | FILES:${PN} = "\ |
| 267 | ${sysconfdir} \ | 267 | ${sysconfdir} \ |
| 268 | ${bindir} \ | 268 | ${bindir} \ |
| 269 | ${libdir}/lib*.chk \ | 269 | ${libdir}/lib*.chk \ |
| 270 | ${libdir}/lib*.so \ | 270 | ${libdir}/lib*.so \ |
| 271 | " | 271 | " |
| 272 | 272 | ||
| 273 | FILES_${PN}-dev = "\ | 273 | FILES:${PN}-dev = "\ |
| 274 | ${libdir}/nss \ | 274 | ${libdir}/nss \ |
| 275 | ${libdir}/pkgconfig/* \ | 275 | ${libdir}/pkgconfig/* \ |
| 276 | ${includedir}/* \ | 276 | ${includedir}/* \ |
| 277 | " | 277 | " |
| 278 | 278 | ||
| 279 | RDEPENDS_${PN}-smime = "perl" | 279 | RDEPENDS:${PN}-smime = "perl" |
| 280 | 280 | ||
| 281 | BBCLASSEXTEND = "native nativesdk" | 281 | BBCLASSEXTEND = "native nativesdk" |
| 282 | 282 | ||
