summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--portmap/make.patch (renamed from portmap/install.patch)0
-rw-r--r--portmap/portmap_5-4.oe13
2 files changed, 6 insertions, 7 deletions
diff --git a/portmap/install.patch b/portmap/make.patch
index e69de29bb2..e69de29bb2 100644
--- a/portmap/install.patch
+++ b/portmap/make.patch
diff --git a/portmap/portmap_5-4.oe b/portmap/portmap_5-4.oe
index b6142840e5..98ed8be0e6 100644
--- a/portmap/portmap_5-4.oe
+++ b/portmap/portmap_5-4.oe
@@ -1,17 +1,16 @@
SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \
http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5-4.diff.gz;patch=1 \
file://no-libwrap.patch;patch=1;pnum=0 \
- file://install.patch;patch=1;pnum=0"
+ file://make.patch;patch=1"
S = "${WORKDIR}/portmap_5beta"
-FILES_${PN} += " /sbin"
+sbindir = "/sbin"
do_compile() {
- oe_runmake CFLAGS="${CFLAGS} \$(COPT) \$(NSARCHS)"
+ oe_runmake
}
-fakeroot do_install() {
- install -d ${D}/${datadir}/man/man8
- install -d ${D}/${datadir}/doc/portmap
- oe_runmake BASEDIR="${D}" install
+do_install() {
+ oe_runmake 'docdir=${datadir}/doc/portmap' \
+ 'DESTDIR=${D}' install
}