summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/portmap
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-01-08 09:07:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-22 23:42:51 +0000
commit68442d149158a4d6ca817bbaedb2400e43d3957f (patch)
tree0e0cf4fb5268943d0536fa32948f90d0ee17d108 /meta/recipes-connectivity/portmap
parent8c41bdc5252bbe119ab91a119cc3b9c285a7c16c (diff)
downloadopenembedded-core-68442d149158a4d6ca817bbaedb2400e43d3957f.tar.gz
openembedded-core-68442d149158a4d6ca817bbaedb2400e43d3957f.tar.bz2
openembedded-core-68442d149158a4d6ca817bbaedb2400e43d3957f.zip
portmap: Point to tirpc headers and libraries on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-connectivity/portmap')
-rw-r--r--meta/recipes-connectivity/portmap/portmap_6.0.bb4
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 @@
require portmap.inc
+DEPENDS_append_libc-musl = " libtirpc "
+
PR = "r9"
SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
@@ -19,6 +21,8 @@ PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers"
CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS"
CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@bb.utils.contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'"
+CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc "
+LDFLAGS_append_libc-musl = " -ltirpc "
do_install() {
install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d