[oe-commits] org.oe.dev groff 1.19.2: The install task was failing because groff refuses to install

lenehan commit openembedded-commits at lists.openembedded.org
Fri Sep 1 02:24:35 UTC 2006


groff 1.19.2: The install task was failing because groff refuses to install
into the specified prefix (${D} in this case) unless that directory already
exists. So modify to manually create ${D} in the install task. Its not clear
what change broke this but it appears that ${D} used to be created
automatically but this is no longer occuring.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 4d0f56c57b45f8033dff27b76aa83f14d1292945
ViewMTN: http://monotone.openembedded.org/revision.psp?id=4d0f56c57b45f8033dff27b76aa83f14d1292945
Files:
1
packages/groff/groff_1.19.2.bb
Diffs:

#
# mt diff -r00108e782d91e40285019f47914ba209d2795e0b -r4d0f56c57b45f8033dff27b76aa83f14d1292945
#
# 
# 
# patch "packages/groff/groff_1.19.2.bb"
#  from [937070a6db0f6f200ce5aa034e84b9a141c1e98a]
#    to [35438ce4e20fa66ff79617669d96ff3e448acf71]
# 
============================================================
--- packages/groff/groff_1.19.2.bb	937070a6db0f6f200ce5aa034e84b9a141c1e98a
+++ packages/groff/groff_1.19.2.bb	35438ce4e20fa66ff79617669d96ff3e448acf71
@@ -1,8 +1,8 @@ MAINTAINER = "Inge Arnesen <inge.arnesen
 DESCRIPTION = "GNU roff"
 SECTION = "base"
 LICENSE = "GPL"
 MAINTAINER = "Inge Arnesen <inge.arnesen at gmail.com>"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
 	           file://Makefile.in.patch;patch=1 \
@@ -15,11 +15,14 @@ inherit autotools
 EXTRA_OECONF="--prefix=${D} --exec-prefix=${D} --bindir=${D}${bindir} --datadir=${D}${datadir} --mandir=${D}${datadir}/man --infodir=${D}${datadir}/info"
 inherit autotools
 
-do_configure () {
+do_configure() {
 	oe_runconf
 }
 
+#
+# The installer refuses to do anything if the prefix directory does not
+# already exist, so create it manually before the standard install runs.
+#
+do_install_prepend() {
+	install -m 0755 -d ${D}
+}
-#do_install() {
-#	oe_runmake 'PREFIX=${D}' install
-#}
-






More information about the Openembedded-commits mailing list