From: Khem Raj Date: Fri, 8 Jan 2016 09:07:33 +0000 (+0000) Subject: portmap: Point to tirpc headers and libraries on musl X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68442d149158a4d6ca817bbaedb2400e43d3957f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git portmap: Point to tirpc headers and libraries on musl Signed-off-by: Khem Raj --- diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb index e727fe3cb92..999b4a93747 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