summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/portmap
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/portmap')
-rw-r--r--meta/recipes-connectivity/portmap/portmap_6.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap_6.0.bb b/meta/recipes-connectivity/portmap/portmap_6.0.bb
index 07aa3601fa..2ec6981559 100644
--- a/meta/recipes-connectivity/portmap/portmap_6.0.bb
+++ b/meta/recipes-connectivity/portmap/portmap_6.0.bb
@@ -1,6 +1,5 @@
1require portmap.inc 1require portmap.inc
2 2
3DEPENDS += "tcp-wrappers"
4PR = "r7" 3PR = "r7"
5 4
6SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ 5SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
@@ -13,8 +12,12 @@ SRC_URI[sha256sum] = "02c820d39f3e6e729d1bea3287a2d8a6c684f1006fb9612f97dcad4a28
13 12
14S = "${WORKDIR}/${BPN}_${PV}/" 13S = "${WORKDIR}/${BPN}_${PV}/"
15 14
15PACKAGECONFIG ??= "tcp-wrappers"
16PACKAGECONFIG[tcp-wrappers] = ",,tcp-wrappers"
17
16CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS" 18CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS"
17CFLAGS += "-Wall -Wstrict-prototypes -fPIC" 19CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
20EXTRA_OEMAKE += "'NO_TCP_WRAPPER=${@base_contains('PACKAGECONFIG', 'tcp-wrappers', '', '1', d)}'"
18 21
19fakeroot do_install() { 22fakeroot do_install() {
20 install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d 23 install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d