From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/recipes-devtools/apt/apt.inc | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta/recipes-devtools/apt/apt.inc (limited to 'meta/recipes-devtools/apt/apt.inc') diff --git a/meta/recipes-devtools/apt/apt.inc b/meta/recipes-devtools/apt/apt.inc new file mode 100644 index 0000000000..b528c00fd8 --- /dev/null +++ b/meta/recipes-devtools/apt/apt.inc @@ -0,0 +1,37 @@ +SUMMARY = "Advanced front-end for dpkg" +LICENSE = "GPLv2.0+" +SECTION = "base" + +SRC_URI = "${DEBIAN_MIRROR}/main/a/apt/apt_${PV}.tar.gz \ + file://no-ko-translation.patch \ + file://use-host.patch \ + file://makerace.patch \ + file://no-nls-dpkg.patch \ + file://fix-gcc-4.6-null-not-defined.patch \ + file://truncate-filename.patch \ + file://nodoc.patch \ + file://disable-configure-in-makefile.patch \ + " + +inherit autotools gettext + +EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" + +do_configure_prepend() { + rm -rf ${S}/buildlib/config.sub + rm -rf ${S}/buildlib/config.guess +} + +# Apt wants to know the glibc version by running a binary file, which will +# fail, so we have to tell configure which version to use Since I don't know +# the impliations of setting a wrong value I only provide one for angstrom, +# which uses glibc 2.5 (which claims to be 2.4) +# Koen - 20070327 +EXTRA_OECONF_append_angstrom = " ac_cv_glibc_ver=libc6.4" + +# under Debian it is set to libc6.3 as they use glibc 2.3 +# They also provide glibc 2.5 in 'experimental' and it works with APT built +# for 2.3 so we set it in same way +EXTRA_OECONF_append = " ac_cv_glibc_ver=libc6.3" + +FILES_${PN}-dbg += "${libdir}/apt/methods/.debug/" -- cgit v1.2.3-54-g00ecf