conf/documentation.conf:
authorHolger Freyther <zecke@selfish.org>
Mon, 13 Mar 2006 10:29:37 +0000 (10:29 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 13 Mar 2006 10:29:37 +0000 (10:29 +0000)
Document the HOST_NONSYSV variable
introduced by emte
packages/fakeroot/fakeroot-native:
There are systems without SYSV stuff. Introduce
a HOST_NONSYSV variable if you have such a host
system. In this case fakeroot-native is build
with tcp IPC.
This fixes bug #735 and patch is courtsey
nigel Kostiuck (emte)

conf/documentation.conf
packages/fakeroot/fakeroot-native_1.2.13.bb

index 19aaf2d..93cf911 100644 (file)
@@ -20,6 +20,7 @@ HOST_VENDOR[doc] = "The name of the vendor. Normally same as the TARGET_VENDOR @
 HOST_SYS[doc] = "FIXME"
 HOST_PREFIX[doc] = "Normally same as the TARGET_PREFIX @see TARGET_PREFIX @group base"
 HOST_CC_ARCH[doc] = "Normally same as the TARGET_CC_ARCH @see TARGET_CC_ARCH @group base"
+HOST_NONSYSV[doc] = "Setable flag in local.conf to override SysV specific compiles when needed. 1 or 0 are usable values. See fakeroot-native for example."
 
 TARGET_ARCH[doc] = "Build for which architecture. Examples are arm, i686, sh3, mips, powerpc"
 TARGET_OS[doc]   = "Build for which Operating System. Currently possible values are \
index 4df6eeb..cc3dfd2 100644 (file)
@@ -6,7 +6,13 @@ inherit native
 SRC_URI += "file://fix-prefix.patch;patch=1"
 S = "${WORKDIR}/fakeroot-${PV}"
 
-EXTRA_OECONF = "--program-prefix="
+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/