diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-08 09:07:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:30 +0000 |
commit | 226c45083eef598355aceb5500cbc62520a7302d (patch) | |
tree | 388044766218dae89118d8daa962314c14cc1010 /meta/recipes-connectivity | |
parent | 5512c2f9523cdf0c902989dfd838d10300a15fcc (diff) | |
download | poky-226c45083eef598355aceb5500cbc62520a7302d.tar.gz |
portmap: Point to tirpc headers and libraries on musl
(From OE-Core rev: 68442d149158a4d6ca817bbaedb2400e43d3957f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/portmap/portmap_6.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb index e727fe3cb9..999b4a9374 100644 --- a/meta/recipes-connectivity/portmap/portmap_6.0.bb +++ b/meta/recipes-connectivity/portmap/portmap_6.0.bb | |||
@@ -1,5 +1,7 @@ | |||
1 | require portmap.inc | 1 | require portmap.inc |
2 | 2 | ||
3 | DEPENDS_append_libc-musl = " libtirpc " | ||
4 | |||
3 | PR = "r9" | 5 | PR = "r9" |
4 | 6 | ||
5 | SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ | 7 | SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ |
@@ -19,6 +21,8 @@ PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers" | |||
19 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" | 21 | CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" |
20 | CFLAGS += "-Wall -Wstrict-prototypes -fPIC" | 22 | CFLAGS += "-Wall -Wstrict-prototypes -fPIC" |
21 | EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'" | 23 | EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'" |
24 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc " | ||
25 | LDFLAGS_append_libc-musl = " -ltirpc " | ||
22 | 26 | ||
23 | do_install() { | 27 | do_install() { |
24 | install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d | 28 | install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d |