diff options
| -rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript_9.04.bb | 32 |
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" | |||
| 15 | LICENSE = "GPLv3" | 15 | LICENSE = "GPLv3" |
| 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d151214b3131251dfc9d858593acbd24" |
| 17 | 17 | ||
| 18 | PR = "r1" | 18 | PR = "r2" |
| 19 | 19 | ||
| 20 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" | 20 | DEPENDS = "ghostscript-native tiff jpeg fontconfig cups" |
| 21 | DEPENDS_virtclass-native = "" | 21 | DEPENDS_virtclass-native = "" |
| @@ -44,18 +44,22 @@ BUILD_CFLAGS += "-DHAVE_SYS_TIME_H=1" | |||
| 44 | 44 | ||
| 45 | inherit autotools | 45 | inherit autotools |
| 46 | 46 | ||
| 47 | do_configure () { | 47 | do_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 | 55 | do_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 | ||
| 61 | do_install_append () { | 65 | do_install_append () { |
| @@ -72,10 +76,6 @@ python do_patch_virtclass-native () { | |||
| 72 | pass | 76 | pass |
| 73 | } | 77 | } |
| 74 | 78 | ||
| 75 | do_configure_virtclass-native () { | ||
| 76 | oe_runconf | ||
| 77 | } | ||
| 78 | |||
| 79 | do_compile_virtclass-native () { | 79 | do_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 |
