summaryrefslogtreecommitdiff
path: root/packages/fakeroot/fakeroot-native_1.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fakeroot/fakeroot-native_1.8.3.bb')
-rw-r--r--packages/fakeroot/fakeroot-native_1.8.3.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/fakeroot/fakeroot-native_1.8.3.bb b/packages/fakeroot/fakeroot-native_1.8.3.bb
new file mode 100644
index 0000000000..8b3d2a1590
--- /dev/null
+++ b/packages/fakeroot/fakeroot-native_1.8.3.bb
@@ -0,0 +1,20 @@
+SECTION = "base"
+require fakeroot_${PV}.bb
+inherit native
+RDEPENDS="util-linux-native"
+
+SRC_URI += "file://fix-prefix.patch;patch=1 "
+S = "${WORKDIR}/fakeroot-${PV}"
+
+EXTRA_OECONF = " --program-prefix="
+
+# Compatability for the rare systems not using or having SYSV
+python () {
+ if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0':
+ bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d)
+}
+
+do_stage_append () {
+ oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/
+}
+