summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/nss
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-support/nss
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-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.bb32
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/"
9SECTION = "libs" 9SECTION = "libs"
10 10
11DEPENDS = "sqlite3 nspr zlib nss-native" 11DEPENDS = "sqlite3 nspr zlib nss-native"
12DEPENDS_class-native = "sqlite3-native nspr-native zlib-native" 12DEPENDS:class-native = "sqlite3-native nspr-native zlib-native"
13 13
14LICENSE = "(MPL-2.0 & MIT) | (MPL-2.0 & GPL-2.0+ & MIT) | (MPL-2.0 & LGPL-2.1+ & MIT)" 14LICENSE = "(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
46TARGET_CC_ARCH += "${LDFLAGS}" 46TARGET_CC_ARCH += "${LDFLAGS}"
47 47
48CFLAGS_append_class-native = " -D_XOPEN_SOURCE " 48CFLAGS:append:class-native = " -D_XOPEN_SOURCE "
49 49
50do_configure_prepend_libc-musl () { 50do_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
54do_configure_prepend_powerpc64le_toolchain-clang () { 54do_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
58do_configure_prepend_powerpc64_toolchain-clang () { 58do_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
62do_compile_prepend_class-native() { 62do_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
67do_compile_prepend_class-nativesdk() { 67do_compile:prepend:class-nativesdk() {
68 export LDFLAGS="" 68 export LDFLAGS=""
69} 69}
70 70
71do_compile_prepend_class-native() { 71do_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
139do_compile[vardepsexclude] += "SITEINFO_BITS" 139do_compile[vardepsexclude] += "SITEINFO_BITS"
140 140
141do_install_prepend_class-nativesdk() { 141do_install:prepend:class-nativesdk() {
142 export LDFLAGS="" 142 export LDFLAGS=""
143} 143}
144 144
@@ -215,7 +215,7 @@ do_install() {
215 215
216do_install[vardepsexclude] += "SITEINFO_BITS" 216do_install[vardepsexclude] += "SITEINFO_BITS"
217 217
218do_install_append() { 218do_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
234do_install_append_class-target() { 234do_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
247PACKAGE_WRITE_DEPS += "nss-native" 247PACKAGE_WRITE_DEPS += "nss-native"
248 248
249pkg_postinst_${PN} () { 249pkg_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
261PACKAGES =+ "${PN}-smime" 261PACKAGES =+ "${PN}-smime"
262FILES_${PN}-smime = "\ 262FILES:${PN}-smime = "\
263 ${bindir}/smime \ 263 ${bindir}/smime \
264" 264"
265 265
266FILES_${PN} = "\ 266FILES:${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
273FILES_${PN}-dev = "\ 273FILES:${PN}-dev = "\
274 ${libdir}/nss \ 274 ${libdir}/nss \
275 ${libdir}/pkgconfig/* \ 275 ${libdir}/pkgconfig/* \
276 ${includedir}/* \ 276 ${includedir}/* \
277 " 277 "
278 278
279RDEPENDS_${PN}-smime = "perl" 279RDEPENDS:${PN}-smime = "perl"
280 280
281BBCLASSEXTEND = "native nativesdk" 281BBCLASSEXTEND = "native nativesdk"
282 282