aboutsummaryrefslogtreecommitdiffstats
path: root/portmap
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-06-24 21:13:52 +0000
committerChris Larson <clarson@kergoth.com>2004-06-24 21:13:52 +0000
commit58990d85caa23f8ea97aa7c00bb14ecff908655c (patch)
tree4e044842c5833ff7753d1fadcac71b344300bd8a /portmap
parent0e584946ec5dc5547575149e74f8550893b2d31e (diff)
downloadopenembedded-58990d85caa23f8ea97aa7c00bb14ecff908655c.tar.gz
Make the portmap makefile suck less, and remove the fakeroot requirement.
BKrev: 40db4410mk928K6DNKsVGpTsMWKdsg
Diffstat (limited to 'portmap')
-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
}