summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-09-01 02:20:24 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-09-01 02:20:24 +0000
commit97f3f6619a1ef68599977240b181b0be205b35fb (patch)
tree7b015f7e2de8e8a8ccf2468832e6dadd1d408d9a /packages
parent0fd1a70f523a36b525055337d1963a9454b372b5 (diff)
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.
Diffstat (limited to 'packages')
-rw-r--r--packages/groff/groff_1.19.2.bb15
1 files changed, 9 insertions, 6 deletions
diff --git a/packages/groff/groff_1.19.2.bb b/packages/groff/groff_1.19.2.bb
index 24cc5eadea..c012376c0c 100644
--- a/packages/groff/groff_1.19.2.bb
+++ b/packages/groff/groff_1.19.2.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "GNU roff"
SECTION = "base"
LICENSE = "GPL"
MAINTAINER = "Inge Arnesen <inge.arnesen@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 @@ PARALLEL_MAKE = ""
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
}
-#do_install() {
-# oe_runmake 'PREFIX=${D}' install
-#}
-
+#
+# 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}
+}