diff options
| -rw-r--r-- | meta-networking/recipes-support/netcf/netcf_git.bb | 22 | ||||
| -rw-r--r-- | meta-oe/classes/autotools-bootstrap.bbclass | 24 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb | 18 | 
3 files changed, 38 insertions, 26 deletions
| diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb index 1bc6baef0d..f67f4ec608 100644 --- a/meta-networking/recipes-support/netcf/netcf_git.bb +++ b/meta-networking/recipes-support/netcf/netcf_git.bb | |||
| @@ -16,13 +16,33 @@ DEPENDS += "augeas libnl libxslt libxml2 gnulib" | |||
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" | 
| 18 | 18 | ||
| 19 | inherit gettext autotools-bootstrap pkgconfig systemd | 19 | inherit gettext autotools pkgconfig systemd | 
| 20 | 20 | ||
| 21 | EXTRA_OECONF_append_class-target = " --with-driver=redhat" | 21 | EXTRA_OECONF_append_class-target = " --with-driver=redhat" | 
| 22 | 22 | ||
| 23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}" | 23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}" | 
| 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," | 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," | 
| 25 | 25 | ||
| 26 | do_configure_prepend() { | ||
| 27 | currdir=`pwd` | ||
| 28 | cd ${S} | ||
| 29 | |||
| 30 | # avoid bootstrap cloning gnulib on every configure | ||
| 31 | cat >.gitmodules <<EOF | ||
| 32 | [submodule "gnulib"] | ||
| 33 | path = gnulib | ||
| 34 | url = git://git.sv.gnu.org/gnulib | ||
| 35 | EOF | ||
| 36 | cp -rf ${STAGING_DATADIR}/gnulib ${S} | ||
| 37 | |||
| 38 | # --force to avoid errors on reconfigure e.g if recipes changed we depend on | ||
| 39 | # | bootstrap: running: libtoolize --quiet | ||
| 40 | # | libtoolize: error: 'libltdl/COPYING.LIB' exists: use '--force' to overwrite | ||
| 41 | # | ... | ||
| 42 | ./bootstrap --force | ||
| 43 | cd $currdir | ||
| 44 | } | ||
| 45 | |||
| 26 | do_install_append() { | 46 | do_install_append() { | 
| 27 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 47 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 
| 28 | install -d ${D}${systemd_unitdir}/system | 48 | install -d ${D}${systemd_unitdir}/system | 
| diff --git a/meta-oe/classes/autotools-bootstrap.bbclass b/meta-oe/classes/autotools-bootstrap.bbclass deleted file mode 100644 index 8d7af1b472..0000000000 --- a/meta-oe/classes/autotools-bootstrap.bbclass +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | # Class to inherit when you want to build with autotools after running bootstrap | ||
| 2 | inherit autotools | ||
| 3 | |||
| 4 | DEPENDS += "gnulib" | ||
| 5 | |||
| 6 | do_configure_prepend() { | ||
| 7 | currdir=`pwd` | ||
| 8 | cd ${S} | ||
| 9 | |||
| 10 | # avoid bootstrap cloning gnulib on every configure | ||
| 11 | cat >.gitmodules <<EOF | ||
| 12 | [submodule "gnulib"] | ||
| 13 | path = gnulib | ||
| 14 | url = git://git.sv.gnu.org/gnulib | ||
| 15 | EOF | ||
| 16 | cp -rf ${STAGING_DATADIR}/gnulib ${S} | ||
| 17 | |||
| 18 | # --force to avoid errors on reconfigure e.g if recipes changed we depend on | ||
| 19 | # | bootstrap: running: libtoolize --quiet | ||
| 20 | # | libtoolize: error: 'libltdl/COPYING.LIB' exists: use '--force' to overwrite | ||
| 21 | # | ... | ||
| 22 | ./bootstrap --force | ||
| 23 | cd $currdir | ||
| 24 | } | ||
| diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb index b50202d0a6..53899f13cd 100644 --- a/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb +++ b/meta-oe/recipes-graphics/fontforge/fontforge_20150824.bb | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 9 | DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash" | 9 | DEPENDS = "glib-2.0 pango giflib tiff libxml2 jpeg python libtool uthash" | 
| 10 | DEPENDS_append_class-target = " libxi" | 10 | DEPENDS_append_class-target = " libxi" | 
| 11 | 11 | ||
| 12 | inherit autotools-bootstrap pkgconfig pythonnative distro_features_check | 12 | inherit autotools pkgconfig pythonnative distro_features_check | 
| 13 | 13 | ||
| 14 | REQUIRED_DISTRO_FEATURES_append_class-target = " x11" | 14 | REQUIRED_DISTRO_FEATURES_append_class-target = " x11" | 
| 15 | 15 | ||
| @@ -24,8 +24,24 @@ do_configure_prepend() { | |||
| 24 | # uthash sources are expected in uthash/src | 24 | # uthash sources are expected in uthash/src | 
| 25 | currdir=`pwd` | 25 | currdir=`pwd` | 
| 26 | cd ${S} | 26 | cd ${S} | 
| 27 | |||
| 27 | mkdir -p uthash/src | 28 | mkdir -p uthash/src | 
| 28 | cp ${STAGING_INCDIR}/ut*.h uthash/src | 29 | cp ${STAGING_INCDIR}/ut*.h uthash/src | 
| 30 | |||
| 31 | # avoid bootstrap cloning gnulib on every configure | ||
| 32 | cat >.gitmodules <<EOF | ||
| 33 | [submodule "gnulib"] | ||
| 34 | path = gnulib | ||
| 35 | url = git://git.sv.gnu.org/gnulib | ||
| 36 | EOF | ||
| 37 | cp -rf ${STAGING_DATADIR}/gnulib ${S} | ||
| 38 | |||
| 39 | # --force to avoid errors on reconfigure e.g if recipes changed we depend on | ||
| 40 | # | bootstrap: running: libtoolize --quiet | ||
| 41 | # | libtoolize: error: 'libltdl/COPYING.LIB' exists: use '--force' to overwrite | ||
| 42 | # | ... | ||
| 43 | ./bootstrap --force | ||
| 44 | |||
| 29 | cd $currdir | 45 | cd $currdir | 
| 30 | } | 46 | } | 
| 31 | 47 | ||
