diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-08-23 16:22:45 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-24 00:44:34 -0700 |
| commit | e4d91fad9620ec15b10d1f789062c4e0c65f655a (patch) | |
| tree | 992b7e8b2991b14205239a88a3d914078648e35c | |
| parent | 82a4a3fc2724b47f4243beee57825e04b03ec123 (diff) | |
| download | meta-openembedded-e4d91fad9620ec15b10d1f789062c4e0c65f655a.tar.gz | |
ncftp: Enable autoreconf
Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 33 insertions, 15 deletions
diff --git a/meta-networking/recipes-daemons/ncftp/ncftp/0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch b/meta-networking/recipes-daemons/ncftp/ncftp/0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch new file mode 100644 index 0000000000..efd1f345e6 --- /dev/null +++ b/meta-networking/recipes-daemons/ncftp/ncftp/0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 53ca110d53ca82f6c4224e4c29dbcf7dfe6914cd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 23 Aug 2022 00:25:06 -0700 | ||
| 4 | Subject: [PATCH] Forward port defining PREFIX_BINDIR to use new autoconf | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | configure.in | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/configure.in b/configure.in | ||
| 14 | index c3ef568..a320c56 100644 | ||
| 15 | --- a/configure.in | ||
| 16 | +++ b/configure.in | ||
| 17 | @@ -44,7 +44,7 @@ wi_EXTRA_SYSV_SUNOS_DIRS dnl For better curses library on SunOS 4 | ||
| 18 | |||
| 19 | dnl Try to use PATH rather than hardcode the installation path, if possible. | ||
| 20 | if test "${prefix-NONE}" != "NONE" && test "$prefix" != "/usr/local" && test "$prefix" != "/usr"; then | ||
| 21 | - AC_DEFINE_UNQUOTED(PREFIX_BINDIR, "$prefix/bin") | ||
| 22 | + AC_DEFINE([PREFIX_BINDIR], [${prefix}/bin], [Install bindir]) | ||
| 23 | fi | ||
| 24 | |||
| 25 | |||
diff --git a/meta-networking/recipes-daemons/ncftp/ncftp/unistd.patch b/meta-networking/recipes-daemons/ncftp/ncftp/unistd.patch index 1c8146edaf..22e4f7837b 100644 --- a/meta-networking/recipes-daemons/ncftp/ncftp/unistd.patch +++ b/meta-networking/recipes-daemons/ncftp/ncftp/unistd.patch | |||
| @@ -16,13 +16,9 @@ Other solution would to fix sed.sh to ignore double definitions | |||
| 16 | Upstream-Status: Pending | 16 | Upstream-Status: Pending |
| 17 | 17 | ||
| 18 | Signed-of-by: Khem Raj <raj.khem@gmail.com> | 18 | Signed-of-by: Khem Raj <raj.khem@gmail.com> |
| 19 | 19 | --- a/autoconf_local/aclocal.m4 | |
| 20 | 20 | +++ b/autoconf_local/aclocal.m4 | |
| 21 | Index: ncftp-3.2.6/configure | 21 | @@ -4220,7 +4220,6 @@ changequote({{, }})dnl |
| 22 | =================================================================== | ||
| 23 | --- ncftp-3.2.6.orig/configure | ||
| 24 | +++ ncftp-3.2.6/configure | ||
| 25 | @@ -7859,7 +7859,6 @@ chmod 755 "$wi_tmpdir/prpp.pl" | ||
| 26 | cat << 'EOF' > "$wi_tmpdir/unistd.c" | 22 | cat << 'EOF' > "$wi_tmpdir/unistd.c" |
| 27 | #include <confdefs.h> | 23 | #include <confdefs.h> |
| 28 | 24 | ||
diff --git a/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb b/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb index 592f98f9d3..73af477eea 100644 --- a/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb +++ b/meta-networking/recipes-daemons/ncftp/ncftp_3.2.6.bb | |||
| @@ -9,7 +9,8 @@ SRC_URI = "ftp://ftp.ncftp.com/${BPN}/${BP}-src.tar.xz \ | |||
| 9 | file://ncftp-configure-use-BUILD_CC-for-ccdv.patch \ | 9 | file://ncftp-configure-use-BUILD_CC-for-ccdv.patch \ |
| 10 | file://unistd.patch \ | 10 | file://unistd.patch \ |
| 11 | file://ncftp-3.2.5-gcc10.patch \ | 11 | file://ncftp-3.2.5-gcc10.patch \ |
| 12 | " | 12 | file://0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch \ |
| 13 | " | ||
| 13 | SRC_URI[md5sum] = "42d0f896d69a4d603ec097546444245f" | 14 | SRC_URI[md5sum] = "42d0f896d69a4d603ec097546444245f" |
| 14 | SRC_URI[sha256sum] = "5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d" | 15 | SRC_URI[sha256sum] = "5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d" |
| 15 | 16 | ||
| @@ -20,14 +21,10 @@ CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall" | |||
| 20 | PACKAGECONFIG ??= "" | 21 | PACKAGECONFIG ??= "" |
| 21 | PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," | 22 | PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," |
| 22 | 23 | ||
| 23 | EXTRA_OECONF = "--disable-precomp" | 24 | EXTRA_OECONF = "--disable-precomp --disable-universal" |
| 24 | TARGET_CC_ARCH:append = " ${SELECTED_OPTIMIZATION}" | 25 | #TARGET_CC_ARCH:append = " ${SELECTED_OPTIMIZATION}" |
| 26 | ACLOCALEXTRAPATH:append = " -I ${S}/autoconf_local" | ||
| 25 | 27 | ||
| 26 | do_configure() { | ||
| 27 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} | ||
| 28 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} | ||
| 29 | oe_runconf | ||
| 30 | } | ||
| 31 | do_install () { | 28 | do_install () { |
| 32 | install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir} | 29 | install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir} |
| 33 | oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \ | 30 | oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \ |
