summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.04.bb')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.04.bb32
1 files changed, 16 insertions, 16 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.04.bb b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
index 86d5ef2f1a..7178524167 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.04.bb
@@ -15,7 +15,7 @@ SECTION = "console/utils"
15LICENSE = "GPLv3" 15LICENSE = "GPLv3"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" 16LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24"
17 17
18PR = "r1" 18PR = "r2"
19 19
20DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" 20DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
21DEPENDS_virtclass-native = "" 21DEPENDS_virtclass-native = ""
@@ -44,18 +44,22 @@ BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1"
44 44
45inherit autotools 45inherit autotools
46 46
47do_configure () { 47do_configure_prepend () {
48 mkdir -p obj 48 mkdir -p obj
49 mkdir -p soobj 49 mkdir -p soobj
50 cp ${WORKDIR}/objarch.h obj/arch.h 50 if [ -e ${WORKDIR}/objarch.h ]; then
51 51 cp ${WORKDIR}/objarch.h obj/arch.h
52 oe_runconf 52 fi
53}
53 54
54 # copy tools from the native ghostscript build 55do_configure_append () {
55 mkdir -p obj/aux soobj 56 # copy tools from the native ghostscript build
56 for i in genarch genconf mkromfs echogs gendev genht; do 57 if [ "${PN}" != "ghostscript-native" ]; then
57 cp ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i obj/aux/$i 58 mkdir -p obj/aux soobj
58 done 59 for i in genarch genconf mkromfs echogs gendev genht; do
60 cp ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i obj/aux/$i
61 done
62 fi
59} 63}
60 64
61do_install_append () { 65do_install_append () {
@@ -72,10 +76,6 @@ python do_patch_virtclass-native () {
72 pass 76 pass
73} 77}
74 78
75do_configure_virtclass-native () {
76 oe_runconf
77}
78
79do_compile_virtclass-native () { 79do_compile_virtclass-native () {
80 mkdir -p obj 80 mkdir -p obj
81 for i in genarch genconf mkromfs echogs gendev genht; do 81 for i in genarch genconf mkromfs echogs gendev genht; do