Patchwork tnftp: add openssl PACKAGECONFIG and inherit pkgconfig

login
register
mail settings
Submitter rongqing.li@windriver.com
Date July 25, 2014, 10:16 a.m.
Message ID <1406283404-30311-1-git-send-email-rongqing.li@windriver.com>
Download mbox | patch
Permalink /patch/76671/
State Accepted, archived
Headers show

Comments

rongqing.li@windriver.com - July 25, 2014, 10:16 a.m.
From: Roy Li <rongqing.li@windriver.com>

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta-networking/recipes-support/tnftp/tnftp_20130505.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
rongqing.li@windriver.com - July 25, 2014, 10:18 a.m.
it should meta-networking

On 07/25/2014 06:16 PM, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>   meta-networking/recipes-support/tnftp/tnftp_20130505.bb |    5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-support/tnftp/tnftp_20130505.bb b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
> index 80690c5..ae2bc67 100644
> --- a/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
> +++ b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
> @@ -18,7 +18,7 @@ SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/${BPN}-${PV}.tar.gz \
>   	   file://tnftp-autotools.patch \
>   	  "
>
> -inherit autotools update-alternatives
> +inherit autotools update-alternatives pkgconfig
>
>   ALTERNATIVE_PRIORITY = "100"
>
> @@ -31,3 +31,6 @@ FILES_${PN} = "${bindir}/tnftp"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=6d6796cb166a9bb050958241dad9479e"
>   SRC_URI[md5sum] = "66e218d02ec7d9fc39ab70ba2900305a"
>   SRC_URI[sha256sum] = "6f650e25f6fd51538f677b789b49379f367ae9f1dee74c94cfe24d92abc2cffb"
> +
> +PACKAGECONFIG ?= "openssl"
> +PACKAGECONFIG[openssl] = "--enable-ssl, --disable-ssl --with-ssl=no, openssl"
>

Patch

diff --git a/meta-networking/recipes-support/tnftp/tnftp_20130505.bb b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
index 80690c5..ae2bc67 100644
--- a/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
+++ b/meta-networking/recipes-support/tnftp/tnftp_20130505.bb
@@ -18,7 +18,7 @@  SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/${BPN}-${PV}.tar.gz \
 	   file://tnftp-autotools.patch \
 	  "
 
-inherit autotools update-alternatives
+inherit autotools update-alternatives pkgconfig
 
 ALTERNATIVE_PRIORITY = "100"
 
@@ -31,3 +31,6 @@  FILES_${PN} = "${bindir}/tnftp"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6d6796cb166a9bb050958241dad9479e"
 SRC_URI[md5sum] = "66e218d02ec7d9fc39ab70ba2900305a"
 SRC_URI[sha256sum] = "6f650e25f6fd51538f677b789b49379f367ae9f1dee74c94cfe24d92abc2cffb"
+
+PACKAGECONFIG ?= "openssl"
+PACKAGECONFIG[openssl] = "--enable-ssl, --disable-ssl --with-ssl=no, openssl"